We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 531276c commit 2634a20Copy full SHA for 2634a20
1 file changed
main/index.js
@@ -70,7 +70,13 @@ app.on('ready', function() {
70
71
// Load the index.html of the app
72
mainWindow.loadURL(`file://${baseLocation}/../browser/index.html`);
73
- mainWindow.bundleTempFolder = process.argv.length > 1 ? process.argv[1].replace(/^--/, '') : undefined;
+
74
+ // only for windows where 7zip pass location where self extracting archive
75
+ // was unpacked
76
+ if (process.platform === 'win32') {
77
+ mainWindow.bundleTempFolder = process.argv.length > 1 ? process.argv[1].replace(/^--/, '') : undefined;
78
+ }
79
80
mainWindow.once('ready-to-show', () => {
81
mainWindow.show();
82
});
0 commit comments