2024-07-30 11:04:18 +08:00
|
|
|
appId: party.mihomo.app
|
|
|
|
productName: mihomo-party
|
|
|
|
directories:
|
|
|
|
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}'
|
|
|
|
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
|
|
|
|
asarUnpack:
|
|
|
|
- resources/**
|
|
|
|
win:
|
|
|
|
target:
|
|
|
|
- nsis
|
|
|
|
executableName: mihomo-party
|
|
|
|
nsis:
|
2024-07-30 11:17:41 +08:00
|
|
|
artifactName: ${name}-windows-${version}-${arch}-setup.${ext}
|
2024-07-30 11:04:18 +08:00
|
|
|
shortcutName: ${productName}
|
|
|
|
uninstallDisplayName: ${productName}
|
|
|
|
deleteAppDataOnUninstall: true
|
|
|
|
allowToChangeInstallationDirectory: true
|
|
|
|
oneClick: false
|
|
|
|
perMachine: true
|
|
|
|
createDesktopShortcut: always
|
|
|
|
mac:
|
|
|
|
target:
|
|
|
|
- dmg
|
|
|
|
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:
|
2024-07-30 11:17:41 +08:00
|
|
|
artifactName: ${name}-macos-${version}-${arch}-installer.${ext}
|
2024-07-30 11:04:18 +08:00
|
|
|
linux:
|
|
|
|
target:
|
|
|
|
- deb
|
2024-07-30 11:17:41 +08:00
|
|
|
- rpm
|
2024-07-30 11:04:18 +08:00
|
|
|
maintainer: mihomo-party
|
|
|
|
category: Utility
|
|
|
|
deb:
|
2024-07-30 11:17:41 +08:00
|
|
|
artifactName: ${name}-linux-${version}-${arch}-installer.${ext}
|
|
|
|
rpm:
|
|
|
|
artifactName: ${name}-linux-${version}-${arch}-installer.${ext}
|
2024-07-30 11:04:18 +08:00
|
|
|
npmRebuild: false
|
|
|
|
publish:
|
|
|
|
provider: generic
|
|
|
|
url: https://updater.mihomo.party
|