diff --git a/desktop/electron/src/auto-launch.ts b/desktop/electron/src/auto-launch.ts index 5ee4b948..ba4dccd7 100644 --- a/desktop/electron/src/auto-launch.ts +++ b/desktop/electron/src/auto-launch.ts @@ -5,7 +5,7 @@ import electronIsDev from "electron-is-dev"; import settings from "./settings"; export async function updateAutoLaunch() { - let isAutoLaunchEnabled = settings.get("auto_launch_enabled"); + const isAutoLaunchEnabled = settings.get("auto_launch_enabled"); // Don't run this in development if (electronIsDev) {