mihomo-party/electron-builder.yml

64 lines
1.8 KiB
YAML
Raw Permalink Normal View History

2024-07-30 11:04:18 +08:00
appId: party.mihomo.app
2024-09-05 14:14:55 +08:00
productName: mihomo-party
2024-09-04 21:52:42 +08:00
executableName: mihomo-party
2024-07-30 11:04:18 +08:00
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!src/*'
2024-08-07 15:50:33 +08:00
- '!aur/*'
- '!images/*'
- '!scripts/*'
2024-08-17 12:04:05 +08:00
- '!extra/*'
2024-08-07 15:50:33 +08:00
- '!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}'
2024-07-31 12:38:32 +08:00
extraResources:
2024-08-17 12:04:05 +08:00
- from: './extra/'
2024-07-31 12:38:32 +08:00
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-14 16:38:40 +08:00
target:
- nsis
- 7z
artifactName: ${name}-windows-${version}-${arch}-portable.${ext}
2024-08-05 17:20:57 +08:00
nsis:
2024-08-14 16:38:40 +08:00
artifactName: ${name}-windows-${version}-${arch}-setup.${ext}
2024-08-24 17:11:33 +08:00
shortcutName: Mihomo Party
2024-07-30 11:04:18 +08:00
uninstallDisplayName: ${productName}
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
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}
deb:
2024-08-14 16:38:40 +08:00
afterInstall: 'build/linux/deb/postinst'
2024-08-06 20:02:26 +08:00
npmRebuild: true
2024-08-05 21:08:58 +08:00
publish: []