Customize installer
This commit is contained in:
parent
24f3185352
commit
3d0ea6b417
2 changed files with 9 additions and 1 deletions
|
@ -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"
|
||||
|
|
3
Dashboard/scripts/installer.nsh
Normal file
3
Dashboard/scripts/installer.nsh
Normal file
|
@ -0,0 +1,3 @@
|
|||
!macro customInstall
|
||||
CreateShortcut "$SMSTARTUP\Light Control.lnk" "$INSTDIR\Light Control.exe"
|
||||
!macroend
|
Reference in a new issue