refactor: 提取UI组件到独立模块并改进拖拽支持

- 将列表、按钮等UI创建代码从main.c移至ui.c/ui.h
- 添加Windows UIPI消息过滤以支持管理员模式下的文件拖拽
- 更新Makefile和构建脚本以包含新的UI模块
- 清理旧的备份注册表文件并更新README文档
This commit is contained in:
2026-03-16 20:15:10 +08:00
parent 39d06e20e0
commit 575fcca5c4
13 changed files with 193 additions and 85 deletions
+15
View File
@@ -0,0 +1,15 @@
@echo off
echo Copying DLLs...
if not exist bin mkdir bin
copy /Y "libs\iup-3.31_Win64_dllw6_lib\*.dll" bin\
echo Building Installer...
"D:\Program Files (x86)\Inno Setup 6\ISCC.exe" "dist\installer.iss"
if %ERRORLEVEL% NEQ 0 (
echo Installer build failed!
exit /b %ERRORLEVEL%
)
echo Done! Installer is in dist\dist\
pause