mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Fix creation of binary folders
On cbe54954f4
I forgot to update the
callers of handleStartupEvent() and restartAtom() which no longer expect
an app object to be passed.
This commit is contained in:
parent
00ff473754
commit
415861f1f9
@ -8,7 +8,7 @@ class AutoUpdater extends EventEmitter {
|
||||
|
||||
quitAndInstall() {
|
||||
if (SquirrelUpdate.existsSync()) {
|
||||
SquirrelUpdate.restartAtom(require('electron').app);
|
||||
SquirrelUpdate.restartAtom();
|
||||
} else {
|
||||
require('electron').autoUpdater.quitAndInstall();
|
||||
}
|
||||
|
@ -125,7 +125,7 @@ function handleStartupEventWithSquirrel() {
|
||||
|
||||
const SquirrelUpdate = require('./squirrel-update');
|
||||
const squirrelCommand = process.argv[1];
|
||||
return SquirrelUpdate.handleStartupEvent(app, squirrelCommand);
|
||||
return SquirrelUpdate.handleStartupEvent(squirrelCommand);
|
||||
}
|
||||
|
||||
function getConfig() {
|
||||
|
Loading…
Reference in New Issue
Block a user