refactor: 更新应用名称和标识符

更新应用的名称和标识符,以反映新的产品名称和标识符。
This commit is contained in:
hello8693 2024-08-22 18:52:13 +08:00
parent 8cb36b6775
commit e08785baa1
3 changed files with 6 additions and 7 deletions

View File

@ -1,5 +1,5 @@
appId: com.electron.app
productName: dsz-exam-composer
appId: org.dszdev.examshowboard
productName: DSZ ExamShowboard
directories:
buildResources: build
files:
@ -12,7 +12,7 @@ files:
asarUnpack:
- resources/**
win:
executableName: dsz-exam-composer
executableName: examshowboard
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
@ -21,8 +21,6 @@ nsis:
mac:
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false

View File

@ -1,6 +1,6 @@
{
"name": "dsz-exam-showboard",
"version": "1.0.0",
"version": "0.1.0",
"description": "An Electron application with Vue",
"main": "./out/main/index.js",
"author": "Hello8693 <hello8693@hello8693.xyz>",

View File

@ -54,7 +54,8 @@ class WindowManager {
return this.MainWindow;
}
this.MainWindow = this.createWindow('mainWindow', {
title: 'DSZ ExamComposer 制卷系统'
title: 'DSZ ExamShowboard 考试看板',
fullscreen: true
});
this.MainWindow.on('close', () => {
this.MainWindow = undefined;