mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 19:04:23 +08:00
b41139b941
- 新增结算历史页面,支持查看历史结算记录和排行榜 - 实现结算功能,可将当前积分记录归档并清零学生分数 - 优化学生搜索功能,支持拼音匹配 - 更新应用图标和品牌标识 - 改进主题系统,支持自定义侧边栏文本颜色 - 重构积分管理表单,优化用户体验 - 修复若干已知问题并改进代码结构
57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
appId: com.secscore.app
|
|
productName: SecScore
|
|
directories:
|
|
buildResources: build
|
|
files:
|
|
- '!**/.vscode/*'
|
|
- '!src/*'
|
|
- '!electron.vite.config.{js,ts,mjs,cjs}'
|
|
- '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
|
|
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
|
|
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
|
|
asarUnpack:
|
|
- resources/**
|
|
afterPack: ./scripts/afterPack.cjs
|
|
extraFiles:
|
|
- from: themes
|
|
to: themes
|
|
extraResources:
|
|
- from: resources
|
|
to: assets
|
|
win:
|
|
target:
|
|
- zip
|
|
executableName: SecScore
|
|
icon: resources/SecScore_logo.ico
|
|
nsis:
|
|
artifactName: ${name}-${version}-setup.${ext}
|
|
shortcutName: ${productName}
|
|
uninstallDisplayName: ${productName}
|
|
createDesktopShortcut: always
|
|
allowToChangeInstallationDirectory: true
|
|
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
|
|
dmg:
|
|
artifactName: ${name}-${version}.${ext}
|
|
linux:
|
|
target:
|
|
- AppImage
|
|
- snap
|
|
- deb
|
|
maintainer: electronjs.org
|
|
category: Utility
|
|
appImage:
|
|
artifactName: ${name}-${version}.${ext}
|
|
npmRebuild: false
|
|
publish:
|
|
provider: generic
|
|
url: https://example.com/auto-updates
|
|
electronDownload:
|
|
mirror: https://npmmirror.com/mirrors/electron/
|