feat(build): 程序图标使用原版素材 logo + 安装器运行/快捷方式选项

- scripts/make_icon.ps1:素材包 pack.png → go-winres 生成 icon.syso
  (嵌入 exe 图标与版本信息);窗口图标运行时 SetWindowIcon
- 安装.bat:桌面快捷方式 [Y/n](默认 Y)、安装后立即运行 [Y/n](默认 Y)
- build.ps1 在 syso 缺失时自动生成图标
This commit is contained in:
NianGao Dev
2026-08-16 23:23:31 +08:00
parent b0b632df05
commit 9e7d4d20e2
8 changed files with 83 additions and 6 deletions

View File

@@ -33,7 +33,8 @@ Copy-Item (Join-Path $PSScriptRoot "installer\安装.bat") (Join-Path $stage "
年糕历险记 v$Version
====================
安装:双击 安装.bat(选择安装目录,自动创建桌面快捷方式)。
安装:双击 安装.bat(选择安装目录,可选创建桌面快捷方式,默认创建;
安装完成后可选立即运行游戏,默认运行)。
卸载:删除安装目录即可(存档保存在安装目录 worlds/ 下)。
素材包/光影包:解压到 mods/ 目录(原生 Minecraft 资源包格式直接支持)。