diff --git a/BililiveRecorder.WPF/installer.ico b/BililiveRecorder.WPF/installer.ico new file mode 100644 index 0000000..fa32975 Binary files /dev/null and b/BililiveRecorder.WPF/installer.ico differ diff --git a/RELEASING.md b/RELEASING.md index 3bc7b6e..61fdf1d 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -4,6 +4,21 @@ - 在 GitHub 创建 Release 并发布 - GitHub Actions 会自动补充 Assets - 从 Artifacts 里下载 `WPF-NupkgReleases` -- 运行 `squirrel --releasify "/path/to/BililiveRecorder.{version}.nupkg" -r "/path/to/soft.danmuji.org/BililiveRecorder" --framework-version net472 --no-msi` +- 运行 `squirrel --releasify` 命令 - commit push soft.danmuji.org - 修改 `rec.danmuji.org` 上的更新日志 + +```powershell +# $pkg="/path/to/BililiveRecorder.{version}.nupkg" +# $dst="/path/to/soft.danmuji.org/BililiveRecorder" +$pkg="" +$dst="" + +$template="$dst/Setup-old.exe" +$icon="./BililiveRecorder.WPF/installer.ico" + +mv "$dst/Setup.exe" "$template" +squirrel --releasify "$pkg" -r "$dst" --setupIcon "$icon" --bootstrapperExe "$template" --framework-version net472 --no-msi + +rm "$template" +```