TypeScript
||
Julius Marmingeb95cc59e79b1
diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.tsindex d53378dd947..1b9a313524b 100644--- a/apps/desktop/src/main.ts+++ b/apps/desktop/src/main.ts@@ -19,7 +19,7 @@ const CONTEXT_MENU_CHANNEL = "desktop:context-menu";const OPEN_EXTERNAL_CHANNEL = "desktop:open-external";const MENU_ACTION_CHANNEL = "desktop:menu-action";const STATE_DIR =- process.env.T3CODE_STATE_DIR?.trim() ?? path.join(os.homedir(), ".t3", "userdata");+ process.env.T3CODE_STATE_DIR?.trim() || path.join(os.homedir(), ".t3", "userdata");const DESKTOP_SCHEME = "t3";const ROOT_DIR = path.resolve(__dirname, "../../..");const isDevelopment = Boolean(process.env.VITE_DEV_SERVER_URL);