mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-28 05:30:29 +08:00
change shortcut name
This commit is contained in:
parent
066475237e
commit
34431dc7b7
@ -34,7 +34,7 @@ win:
|
|||||||
executableName: mihomo-party
|
executableName: mihomo-party
|
||||||
nsis:
|
nsis:
|
||||||
artifactName: ${name}-windows-${version}-${arch}-setup.${ext}
|
artifactName: ${name}-windows-${version}-${arch}-setup.${ext}
|
||||||
shortcutName: ${productName}
|
shortcutName: Mihomo Party
|
||||||
uninstallDisplayName: ${productName}
|
uninstallDisplayName: ${productName}
|
||||||
deleteAppDataOnUninstall: true
|
deleteAppDataOnUninstall: true
|
||||||
allowToChangeInstallationDirectory: true
|
allowToChangeInstallationDirectory: true
|
||||||
|
|||||||
@ -70,9 +70,9 @@ app.whenReady().then(async () => {
|
|||||||
optimizer.watchWindowShortcuts(window)
|
optimizer.watchWindowShortcuts(window)
|
||||||
})
|
})
|
||||||
registerIpcMainHandlers()
|
registerIpcMainHandlers()
|
||||||
await initShortcut()
|
|
||||||
createWindow()
|
createWindow()
|
||||||
await createTray()
|
await createTray()
|
||||||
|
await initShortcut()
|
||||||
app.on('activate', function () {
|
app.on('activate', function () {
|
||||||
// On macOS it's common to re-create a window in the app when the
|
// On macOS it's common to re-create a window in the app when the
|
||||||
// dock icon is clicked and there are no other windows open.
|
// dock icon is clicked and there are no other windows open.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user