Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions apps/desktop/electron.vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ export default defineConfig({
define: {
"process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV),
"process.platform": JSON.stringify(process.platform),
"import.meta.env.ENABLE_NEW_UI": JSON.stringify(
process.env.ENABLE_NEW_UI || "false",
),
"import.meta.env.DEV_SERVER_PORT": JSON.stringify(getPortSync()),
},

Expand Down
1 change: 0 additions & 1 deletion apps/desktop/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type { WebviewTag } from "electron";

interface ImportMetaEnv {
readonly DEV_SERVER_PORT?: string;
readonly ENABLE_NEW_UI?: string;
}

interface ImportMeta {
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/renderer/env.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// <reference types="vite/client" />

interface ImportMetaEnv {
readonly ENABLE_NEW_UI: string;
// Environment variables
}

interface ImportMeta {
Expand Down
Loading