This commit is contained in:
crusader 2018-10-04 18:54:22 +09:00
parent 9944a2f696
commit c901dca2eb
7 changed files with 6 additions and 5 deletions

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -105,7 +105,7 @@
], ],
"legalTrademarks": "overFlow", "legalTrademarks": "overFlow",
"publisherName": "LOAFLE", "publisherName": "LOAFLE",
"icon": "config/build/windows/icon/overflow_256.ico", "icon": "config/build/win/icon/overflow_256.ico",
"extraResources": [ "extraResources": [
{ {
"from": "config/build/${os}/bin/probe-${os}-${arch}.exe", "from": "config/build/${os}/bin/probe-${os}-${arch}.exe",
@ -117,9 +117,8 @@
"oneClick": false, "oneClick": false,
"perMachine": true, "perMachine": true,
"allowToChangeInstallationDirectory": false, "allowToChangeInstallationDirectory": false,
"installerIcon": "windows/icon/overflow_256.ico", "installerIcon": "win/icon/overflow_256.ico",
"uninstallerIcon": "windows/icon/overflow_256.ico", "uninstallerIcon": "win/icon/overflow_256.ico",
"include": "config/build/windows/nsis/installer.nsh",
"menuCategory": "overFlow" "menuCategory": "overFlow"
} }
} }

View File

@ -200,7 +200,9 @@ app.on('ready', () => {
}); });
if (!__DEV__) { if (!__DEV__) {
const probePath = path.join(__dirname, '..', 'bin', 'probe'); const probePath = __WIN32__
? path.join(__dirname, '..', 'bin', 'probe.exe')
: path.join(__dirname, '..', 'bin', 'probe');
probeProcess = ChildProcess.spawn(probePath, [], { stdio: ['ignore', 'ignore', 'ignore'], detached: true }); probeProcess = ChildProcess.spawn(probePath, [], { stdio: ['ignore', 'ignore', 'ignore'], detached: true });
} }