mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-07 15:13:51 +08:00
🐛 fix(updater): 修复 MSI 更新后任务栏图标失效与桌面快捷方式重建
- 自动迁移引用失效 MSI 缓存图标的旧任务栏固定项并刷新 Shell - 在在线更新前备份桌面快捷方式状态,成功或失败后安全恢复 - 将桌面快捷方式拆分为条件安装组件并补充 Windows 回归测试
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -917,6 +917,11 @@ jobs:
|
||||
} else {
|
||||
"0BCEE70B-9CF2-449C-9ADE-190188493234"
|
||||
}
|
||||
$desktopShortcutComponentGuid = if ($archName -eq "Arm64") {
|
||||
"3CF7DCD2-2658-432D-8677-AB6BB34A9659"
|
||||
} else {
|
||||
"114030DD-DB5F-460A-9CAC-997680E9F938"
|
||||
}
|
||||
|
||||
$licenseFile = (Resolve-Path -LiteralPath "..\\..\\LICENSE").Path
|
||||
$noticeFile = (Resolve-Path -LiteralPath "..\\..\\NOTICE").Path
|
||||
@@ -942,6 +947,7 @@ jobs:
|
||||
-d "ProductVersion=$productVersion" `
|
||||
-d "UpgradeCode=CDD6BF2F-ED1E-4345-A0AB-DCDB7E15FB23" `
|
||||
-d "ComponentGuid=$componentGuid" `
|
||||
-d "DesktopShortcutComponentGuid=$desktopShortcutComponentGuid" `
|
||||
-d "InstallFolderName=GoNavi" `
|
||||
-d "RegistryKeyName=GoNavi" `
|
||||
-d "SourceExe=$sourceExe" `
|
||||
|
||||
Reference in New Issue
Block a user