返回 AiToEarn
electron-env.d.ts
根目录 / project / aitoearn-electron / electron / electron-env.d.ts
1 /// <reference types="vite-electron-plugin/electron-env" />
2
3 declare namespace NodeJS {
4 interface ProcessEnv {
5 VSCODE_DEBUG?: 'true';
6 /**
7 * The built directory structure
8 *
9 * ```tree
10 * ├─┬ dist-electron
11 * │ ├─┬ main
12 * │ │ └── index.js > Electron-Main
13 * │ └─┬ preload
14 * │ └── index.mjs > Preload-Scripts
15 * ├─┬ dist
16 * │ └── index.html > Electron-Renderer
17 * ```
18 */
19 APP_ROOT: string;
20 /** /dist/ or /public/ */
21 VITE_PUBLIC: string;
22 }
23 }
24
24 lines TYPESCRIPT