mihomo-party/electron-builder.yml

63 lines
1.8 KiB
YAML
Raw Normal View History

2024-07-30 11:04:18 +08:00
appId: party.mihomo.app
productName: mihomo-party
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!src/*'
2024-08-07 15:50:33 +08:00
- '!aur/*'
- '!images/*'
- '!scripts/*'
- '!tailwind.config.js'
- '!postcss.config.js'
2024-07-30 11:04:18 +08:00
- '!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/**
2024-07-31 12:38:32 +08:00
extraResources:
- from: './resources/'
to: ''
2024-08-04 13:30:40 +08:00
protocols:
name: 'Mihomo Party URI Scheme'
schemes:
- 'clash'
- 'mihomo'
2024-07-30 11:04:18 +08:00
win:
2024-08-05 17:20:57 +08:00
target: nsis
2024-07-31 12:38:32 +08:00
requestedExecutionLevel: requireAdministrator
2024-07-30 11:04:18 +08:00
executableName: mihomo-party
2024-07-30 11:17:41 +08:00
artifactName: ${name}-windows-${version}-${arch}-setup.${ext}
2024-08-05 17:20:57 +08:00
nsis:
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
2024-08-05 17:20:57 +08:00
- zip
2024-07-30 11:04:18 +08:00
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
2024-08-05 17:20:57 +08:00
artifactName: ${name}-macos-${version}-${arch}.${ext}
2024-07-30 11:04:18 +08:00
linux:
2024-08-04 13:30:40 +08:00
desktop:
MimeType: 'x-scheme-handler/clash;x-scheme-handler/mihomo'
2024-07-30 11:04:18 +08:00
target:
- deb
2024-07-30 11:17:41 +08:00
- rpm
2024-07-30 11:04:18 +08:00
maintainer: mihomo-party
category: Utility
2024-08-05 17:20:57 +08:00
artifactName: ${name}-linux-${version}-${arch}.${ext}
2024-08-06 20:02:26 +08:00
npmRebuild: true
2024-08-05 21:08:58 +08:00
publish: []