ing
This commit is contained in:
parent
2951286421
commit
be1ca94d35
11
config/build/installer.nsh
Normal file
11
config/build/installer.nsh
Normal file
|
@ -0,0 +1,11 @@
|
|||
Var SystemDrive
|
||||
|
||||
!macro preInit
|
||||
ReadEnvStr $SystemDrive SYSTEMDRIVE
|
||||
SetRegView 64
|
||||
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$SystemDrive\앱이설치될폴더명"
|
||||
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$SystemDrive\앱이설치될폴더명"
|
||||
SetRegView 32
|
||||
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$SystemDrive\앱이설치될폴더명"
|
||||
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$SystemDrive\앱이설치될폴더명"
|
||||
!macroend
|
30
package.json
30
package.json
|
@ -16,6 +16,36 @@
|
|||
"electron:builder:install-app-deps": "electron-builder install-app-deps"
|
||||
},
|
||||
"private": true,
|
||||
"productName": "overFlow Network Scanner",
|
||||
"build": {
|
||||
"appId": "com.loafle.overflow.scanner",
|
||||
"files": [
|
||||
""
|
||||
],
|
||||
"win": {
|
||||
"target": [
|
||||
{
|
||||
"target": "nsis",
|
||||
"arch": [
|
||||
"x64",
|
||||
"ia32"
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": ".ico"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
"perMachine": true,
|
||||
"allowToChangeInstallationDirectory": true,
|
||||
"language": 1042,
|
||||
"include": "config/build/installer.nsh",
|
||||
"shortcutName": ""
|
||||
},
|
||||
"directories": {
|
||||
"output": "build/packages"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"electron-devtools-installer": "^2.2.4",
|
||||
"rxjs": "^6.2.2",
|
||||
|
|
Loading…
Reference in New Issue
Block a user