Customize installer

This commit is contained in:
GHOSCHT 2021-06-30 16:09:23 +02:00
parent 24f3185352
commit 3d0ea6b417
2 changed files with 9 additions and 1 deletions

View file

@ -8,7 +8,7 @@
"main": "src/electron.js",
"private": true,
"build": {
"productName": "LighControl",
"productName": "Light Control",
"appId": "lightcontrol.dashboard",
"buildDependenciesFromSource": true,
"npmRebuild": false,
@ -18,6 +18,11 @@
],
"icon": "./assets/icons/win/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"include": "./scripts/installer.nsh"
},
"directories": {
"buildResources": "assets",
"output": "release"

View file

@ -0,0 +1,3 @@
!macro customInstall
CreateShortcut "$SMSTARTUP\Light Control.lnk" "$INSTDIR\Light Control.exe"
!macroend