移除 NIM 源码及主题依赖,加入 Win32、Direct2D、DirectWrite UI 静态库。迁移主页面、添加任务及外观设置,完善虚拟列表、统一窗口透明度和首次显示初始化。增加 Windows 7 API 回退与回归测试,在 AGENTS.md 记录后续控件体系和布局系统计划。
17 lines
640 B
Batchfile
17 lines
640 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
rem Usage: build.cmd [Debug|Release] (default Debug, x64)
|
|
set "CONFIG=%~1"
|
|
if "%CONFIG%"=="" set "CONFIG=Debug"
|
|
|
|
for /f "usebackq delims=" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe`) do set "MSBUILD=%%i"
|
|
if not defined MSBUILD (
|
|
echo MSBuild not found. Please install Visual Studio 2022 C++ workload.
|
|
exit /b 1
|
|
)
|
|
|
|
"%MSBUILD%" "%~dp0TTDownloader.sln" -p:Configuration=%CONFIG% -p:Platform=x64 -p:PlatformToolset=v143 -m -v:minimal
|
|
set "BUILD_EXIT_CODE=%ERRORLEVEL%"
|
|
endlocal & exit /b %BUILD_EXIT_CODE%
|