fix: Do not enable autostart on first launch (#237)
Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit is contained in:
parent
c15ab984fc
commit
e00f3a860c
|
|
@ -43,11 +43,10 @@ if (acquiredLock) {
|
||||||
// create window and application contexts
|
// create window and application contexts
|
||||||
createMainWindow();
|
createMainWindow();
|
||||||
|
|
||||||
// enable auto start on Windows and MacOS
|
// save first launch state
|
||||||
if (config.firstLaunch) {
|
if (config.firstLaunch) {
|
||||||
if (process.platform === "win32" || process.platform === "darwin") {
|
// Doesn't do anything right now. Used to enable auto start, but that behaviour was removed.
|
||||||
autoLaunch.enable();
|
// Left in case it gets used in the future.
|
||||||
}
|
|
||||||
config.firstLaunch = false;
|
config.firstLaunch = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue