Skip to content

Commit

Permalink
electron version reset
Browse files Browse the repository at this point in the history
  • Loading branch information
git committed Sep 27, 2024
1 parent fdda8ec commit 5d24121
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion electron/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import os from 'node:os'

/** process.js 必须位于非依赖项的顶部 */
import {isDummy} from "../lib/process";
const isDummyNew = isDummy

import {AppEnv, AppRuntime} from "../mapi/env";
import {MAPI} from '../mapi/main';
Expand All @@ -19,7 +20,7 @@ import {MAIN_DIST, RENDERER_DIST, VITE_DEV_SERVER_URL} from "../lib/env-main";
import {Page} from "../page";
import {ConfigTray} from "../config/tray";
import {icnsLogoPath, icoLogoPath, logoPath} from "../config/icon";
import {isDev,isPackaged} from "../lib/env";
import {isDev, isPackaged} from "../lib/env";

// The built directory structure
//
Expand Down

0 comments on commit 5d24121

Please sign in to comment.