diff --git a/vue.config.js b/vue.config.js index 554f0a8..a697e3c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -96,6 +96,7 @@ module.exports = { }, // 添加nsis安装包特定配置 + // 修改NSIS配置部分 nsis: { // 安装包名称 artifactName: "installer/StatExamInstaller_${version}_${arch}.exe", @@ -113,8 +114,8 @@ module.exports = { include: "build/installer.nsh", // 定义安装目录名 shortcutName: "统计技能考试系统", - // 开始菜单文件夹名称 - startMenuCategory: "统计技能考试系统", + // 修正:使用正确的属性名 menuCategory + menuCategory: "统计技能考试系统", }, // 便携应用特定配置 - 修改输出结构