This commit is contained in:
chenqiang 2025-09-09 05:41:37 +08:00
parent 6465a9a2ee
commit 15e4eec3eb
2 changed files with 4 additions and 1 deletions

3
index.js Normal file
View File

@ -0,0 +1,3 @@
// 这是一个简单的入口文件用于解决Electron Builder路径解析问题
// 它会直接引用background/main.js作为实际入口点
require('./background/main');

View File

@ -4,7 +4,7 @@
"private": true,
"description": "统计技能考试系统",
"author": "抚顺市统计局",
"main": "background/main.js",
"main": "index.js",
"scripts": {
"start": "vue-cli-service electron:serve",
"serve": "vue-cli-service serve",