Skip to content

Commit

Permalink
try updater
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Aug 5, 2024
1 parent 448c724 commit 739c498
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions dev-app-update.yml

This file was deleted.

19 changes: 8 additions & 11 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -36,15 +35,15 @@ nsis:
mac:
target:
- dmg
- zip
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: ${name}-macos-${version}-${arch}-installer.${ext}
artifactName: ${name}-macos-${version}-${arch}.${ext}
linux:
desktop:
MimeType: 'x-scheme-handler/clash;x-scheme-handler/mihomo'
Expand All @@ -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

0 comments on commit 739c498

Please sign in to comment.