This commit is contained in:
crusader 2018-09-18 10:25:06 +09:00
parent 2951286421
commit be1ca94d35
2 changed files with 41 additions and 0 deletions

View 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

View File

@ -16,6 +16,36 @@
"electron:builder:install-app-deps": "electron-builder install-app-deps" "electron:builder:install-app-deps": "electron-builder install-app-deps"
}, },
"private": true, "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": { "dependencies": {
"electron-devtools-installer": "^2.2.4", "electron-devtools-installer": "^2.2.4",
"rxjs": "^6.2.2", "rxjs": "^6.2.2",