mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 11:42:19 +08:00
try updater
This commit is contained in:
parent
a1dc5cae4c
commit
ccd59e1731
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -33,6 +33,8 @@ jobs:
|
|||
pnpm install
|
||||
pnpm prepare --${{ matrix.arch }}
|
||||
- name: Build
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: pnpm build:win --${{ matrix.arch }}
|
||||
|
||||
- name: Upload Artifacts
|
||||
|
@ -68,6 +70,8 @@ jobs:
|
|||
pnpm install
|
||||
pnpm prepare --${{ matrix.arch }}
|
||||
- name: Build
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: pnpm build:linux --${{ matrix.arch }}
|
||||
|
||||
- name: Upload Artifacts
|
||||
|
@ -105,6 +109,8 @@ jobs:
|
|||
pnpm install
|
||||
pnpm prepare --${{ matrix.arch }}
|
||||
- name: Build
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: pnpm build:mac --${{ matrix.arch }}
|
||||
|
||||
- name: Upload Artifacts
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
provider: generic
|
||||
url: https://updater.mihomo.party
|
||||
updaterCacheDirName: mihomo-party-updater
|
|
@ -20,12 +20,11 @@ protocols:
|
|||
- 'clash'
|
||||
- 'mihomo'
|
||||
win:
|
||||
target:
|
||||
- nsis
|
||||
target: nsis
|
||||
requestedExecutionLevel: requireAdministrator
|
||||
executableName: mihomo-party
|
||||
nsis:
|
||||
artifactName: ${name}-windows-${version}-${arch}-setup.${ext}
|
||||
nsis:
|
||||
shortcutName: ${productName}
|
||||
uninstallDisplayName: ${productName}
|
||||
deleteAppDataOnUninstall: true
|
||||
|
@ -36,6 +35,7 @@ nsis:
|
|||
mac:
|
||||
target:
|
||||
- dmg
|
||||
- zip
|
||||
entitlementsInherit: build/entitlements.mac.plist
|
||||
extendInfo:
|
||||
- NSCameraUsageDescription: Application requests access to the device's camera.
|
||||
|
@ -43,8 +43,7 @@ mac:
|
|||
- 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}-macos-${version}-${arch}-installer.${ext}
|
||||
artifactName: ${name}-macos-${version}-${arch}.${ext}
|
||||
linux:
|
||||
desktop:
|
||||
MimeType: 'x-scheme-handler/clash;x-scheme-handler/mihomo'
|
||||
|
@ -53,11 +52,9 @@ linux:
|
|||
- rpm
|
||||
maintainer: mihomo-party
|
||||
category: Utility
|
||||
deb:
|
||||
artifactName: ${name}-linux-${version}-${arch}-installer.${ext}
|
||||
rpm:
|
||||
artifactName: ${name}-linux-${version}-${arch}-installer.${ext}
|
||||
artifactName: ${name}-linux-${version}-${arch}.${ext}
|
||||
npmRebuild: false
|
||||
publish:
|
||||
provider: generic
|
||||
url: https://updater.mihomo.party
|
||||
provider: github
|
||||
owner: pompurin404
|
||||
repo: mihomo-party
|
||||
|
|
Loading…
Reference in New Issue
Block a user