Skip to content

Commit 7e5a5a4

Browse files
committed
fix:electron build
1 parent c101819 commit 7e5a5a4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

chat2db-client/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/chat2db/Chat2DB"
88
},
99
"author": "fjy, hexi",
10-
"main": "src/main/dist/index.js",
10+
"main": "src/main/main.js",
1111
"scripts": {
1212
"build": "npm run build:web && npm run build:main",
1313
"build:desktop": "npm run build:web:desktop && npm run build:main:prod",
@@ -96,7 +96,8 @@
9696
"asar": false,
9797
"files": [
9898
"dist/**/*",
99-
"src/main/dist/**/*",
99+
"src/main/preload.js",
100+
"src/main/main.js",
100101
"versions/**/*",
101102
"package.json",
102103
"!node_modules/**/*"

0 commit comments

Comments
 (0)