Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

Commit d4bee70

Browse files
committed
fix;0.0.4;日志功能完善
1 parent f554121 commit d4bee70

11 files changed

Lines changed: 26093 additions & 234 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ const config = {
1717
preload: _resolve("electron","preload.js"),
1818
},
1919
output: {
20-
path: _resolve(__dirname, "deskdist"),
21-
clean: true,
20+
path: _resolve(__dirname, "dist","main"),
2221
filename: "[name].cjs"
2322
},
2423
plugins: [

electron/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import { MainWindow } from 'vss/core/mainWindow';
1212
const isPackaged = app.isPackaged
1313
const basePath = app.getAppPath()
1414
const iconPath = resolve(basePath, "images", "icon.png")
15-
const preloadPath = join(basePath, "deskdist", 'preload.cjs')
15+
const preloadPath = join(basePath, "dist","main", 'preload.cjs')
1616
// const settingsPath = "./electron_settings_js.cjs"
17-
const htmlPath = join(basePath, "dist", 'index.html')
17+
const htmlPath = join(basePath, "dist", "render",'index.html')
1818
const createWindow = () => {
1919
// 创建浏览窗口
2020
const mainWindow = new BrowserWindow({

0 commit comments

Comments
 (0)