Files
PackagingMallShipper/build_installer.bat
Administrator 0763a2623b feat: 完善登录验证码、订单同步和打包功能
- 添加验证码登录支持(图形验证码显示和输入)
- 修复订单同步,正确解析收件人信息(从logisticses合并)
- 修复API端点配置(user.api.it120.cc)
- 添加Costura.Fody实现单文件EXE打包
- 添加应用图标(app.ico)
- 添加Inno Setup安装脚本(支持Win7+)
- 暂时禁用导入发货功能
- 添加.gitignore文件

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 00:05:22 +08:00

59 lines
1.3 KiB
Batchfile

@echo off
chcp 936 >nul
echo ========================================
echo PackagingMallShipper - Build Installer
echo ========================================
echo.
set "ISCC="
if exist "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" (
set "ISCC=C:\Program Files (x86)\Inno Setup 6\ISCC.exe"
)
if exist "C:\Program Files\Inno Setup 6\ISCC.exe" (
set "ISCC=C:\Program Files\Inno Setup 6\ISCC.exe"
)
if "%ISCC%"=="" (
echo [Error] Inno Setup 6 not found
echo.
echo Please download and install Inno Setup 6:
echo https://jrsoftware.org/isdl.php
echo.
pause
exit /b 1
)
echo [Info] Found Inno Setup: %ISCC%
echo.
if not exist "publish\PackagingMallShipper.exe" (
echo [Error] publish\PackagingMallShipper.exe not found
echo.
echo Please build Release version first:
echo dotnet build -c Release
echo.
pause
exit /b 1
)
echo [Info] Compiling installer...
echo.
"%ISCC%" setup.iss
if %ERRORLEVEL% EQU 0 (
echo.
echo ========================================
echo [Success] Installer created!
echo.
echo Location: installer\PackagingMallShipper_Setup_v1.0.0.exe
echo ========================================
echo.
if exist "installer" explorer "installer"
) else (
echo.
echo [Error] Build failed, error code: %ERRORLEVEL%
)
pause