v3.8.1发布,上传前端代码

This commit is contained in:
JEECG
2025-06-25 16:04:02 +08:00
parent 3d414aaec8
commit 0148f45979
120 changed files with 4783 additions and 486 deletions

View File

@@ -0,0 +1,18 @@
import path from 'path'
import {isDev} from "./env";
export const _PATHS = getPaths()
function getPaths() {
const _root = __dirname;
const publicRoot = path.join(_root, isDev ? '../../public' : '..');
const preloadRoot = path.join(_root, 'preload')
return {
electronRoot: _root,
publicRoot,
preloadRoot,
appIcon: path.join(_root, `icons/app.ico`).replace(/[\\/]dist[\\/]/, '/'),
}
}