nits, fixes

This commit is contained in:
Anton Bracke
2022-02-22 19:01:26 +01:00
parent e82de63b34
commit 454ee6cf4c
8 changed files with 26 additions and 30 deletions
-6
View File
@@ -7,12 +7,6 @@ import settings from "./settings";
export async function updateAutoLaunch() {
let isAutoLaunchEnabled = settings.get("auto_launch_enabled");
// set default to enabled
if (isAutoLaunchEnabled === undefined) {
settings.set("auto_launch_enabled", true);
isAutoLaunchEnabled = true;
}
// Don't run this in development
if (electronIsDev) {
return;