fix(tauri): dedupe tray and brand nsis installer

This commit is contained in:
wasimysaid 2026-04-25 04:40:21 +02:00
commit 47dd6367ee
2 changed files with 16 additions and 12 deletions

View file

@ -21,12 +21,7 @@
"visible": false,
"resizable": false
}
],
"trayIcon": {
"iconPath": "icons/icon.png",
"id": "main",
"tooltip": "Unsloth Studio (Desktop)"
}
]
},
"plugins": {
"updater": {
@ -42,6 +37,10 @@
"bundle": {
"active": true,
"createUpdaterArtifacts": true,
"publisher": "Unsloth AI",
"homepage": "https://unsloth.ai/",
"copyright": "© 2026 Unsloth AI. All rights reserved.",
"license": "AGPL-3.0-only",
"targets": ["app", "appimage", "deb", "dmg", "nsis"],
"resources": {
"../../install.sh": "install.sh",
@ -54,6 +53,17 @@
"icons/icon.ico",
"icons/icon.icns"
],
"windows": {
"nsis": {
"installerHooks": "./windows/hooks.nsh",
"installerIcon": "./icons/icon.ico",
"headerImage": "./windows/branding/nsis-header.bmp",
"sidebarImage": "./windows/branding/nsis-sidebar.bmp",
"installMode": "currentUser",
"languages": ["English"],
"displayLanguageSelector": false
}
},
"linux": {
"deb": {
"postRemoveScript": "./linux/postremove.sh"

View file

@ -4,12 +4,6 @@
"signCommand": {
"cmd": "trusted-signing-cli",
"args": ["-e", "https://eus.codesigning.azure.net", "-d", "Unsloth Studio (Desktop)", "%1"]
},
"nsis": {
"installerHooks": "./windows/hooks.nsh",
"installerIcon": "./icons/icon.ico",
"headerImage": "./windows/branding/nsis-header.bmp",
"sidebarImage": "./windows/branding/nsis-sidebar.bmp"
}
}
}