fix: Do not enable autostart on first launch (#237)

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit is contained in:
Jacob Schlecht 2026-07-13 12:01:14 -06:00 committed by GitHub
parent c15ab984fc
commit e00f3a860c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 4 deletions

View File

@ -43,11 +43,10 @@ if (acquiredLock) {
// create window and application contexts
createMainWindow();
// enable auto start on Windows and MacOS
// save first launch state
if (config.firstLaunch) {
if (process.platform === "win32" || process.platform === "darwin") {
autoLaunch.enable();
}
// Doesn't do anything right now. Used to enable auto start, but that behaviour was removed.
// Left in case it gets used in the future.
config.firstLaunch = false;
}