|
@@ -1,48 +1,50 @@
|
|
|
appId: com.local.archive.app
|
|
|
productName: 档案脱机存档
|
|
|
directories:
|
|
|
- buildResources: build
|
|
|
+ buildResources: build
|
|
|
files:
|
|
|
- - '!**/.vscode/*'
|
|
|
- - '!src/*'
|
|
|
- - '!electron.vite.config.{js,ts,mjs,cjs}'
|
|
|
- - '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
|
|
|
- - '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
|
|
|
+ - '!**/.vscode/*'
|
|
|
+ - '!src/*'
|
|
|
+ - '!electron.vite.config.{js,ts,mjs,cjs}'
|
|
|
+ - '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
|
|
|
+ - '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
|
|
|
asarUnpack:
|
|
|
- - resources/**
|
|
|
+ - resources/**
|
|
|
win:
|
|
|
- executableName: 档案脱机存档
|
|
|
- requestedExecutionLevel: 'requireAdministrator'
|
|
|
+ executableName: 档案脱机存档
|
|
|
+ requestedExecutionLevel: 'requireAdministrator'
|
|
|
nsis:
|
|
|
- artifactName: 档案脱机存档-${version}-安装包.${ext}
|
|
|
- shortcutName: ${productName}
|
|
|
- uninstallDisplayName: 卸载${productName}
|
|
|
- createDesktopShortcut: always
|
|
|
+ oneClick: false
|
|
|
+ allowToChangeInstallationDirectory: true
|
|
|
+ artifactName: 档案脱机存档-${version}-安装包.${ext}
|
|
|
+ shortcutName: ${productName}
|
|
|
+ uninstallDisplayName: 卸载${productName}
|
|
|
+ createDesktopShortcut: always
|
|
|
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
|
|
|
+ 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: 档案脱机存档-${version}-安装包.${ext}
|
|
|
+ artifactName: 档案脱机存档-${version}-安装包.${ext}
|
|
|
linux:
|
|
|
- target:
|
|
|
- - AppImage
|
|
|
- - snap
|
|
|
- - deb
|
|
|
- maintainer: hczc.hcxxy.com
|
|
|
- category: Utility
|
|
|
+ target:
|
|
|
+ - AppImage
|
|
|
+ - snap
|
|
|
+ - deb
|
|
|
+ maintainer: hczc.hcxxy.com
|
|
|
+ category: Utility
|
|
|
appImage:
|
|
|
- artifactName: 档案脱机存档-${version}-安装包.${ext}
|
|
|
+ artifactName: 档案脱机存档-${version}-安装包.${ext}
|
|
|
npmRebuild: false
|
|
|
publish:
|
|
|
- provider: generic
|
|
|
- url: https://example.com/auto-updates
|
|
|
+ provider: generic
|
|
|
+ url: https://example.com/auto-updates
|
|
|
electronDownload:
|
|
|
- mirror: https://npmmirror.com/mirrors/electron/
|
|
|
+ mirror: https://npmmirror.com/mirrors/electron/
|
|
|
fileAssociations:
|
|
|
ext: hczc
|
|
|
role: Editor
|