Skip to content

Commit 739c498

Browse files
author
pompurin404
committed
try updater
1 parent 448c724 commit 739c498

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/build.yml

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
pnpm install
3434
pnpm prepare --${{ matrix.arch }}
3535
- name: Build
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3638
run: pnpm build:win --${{ matrix.arch }}
3739

3840
- name: Upload Artifacts
@@ -68,6 +70,8 @@ jobs:
6870
pnpm install
6971
pnpm prepare --${{ matrix.arch }}
7072
- name: Build
73+
env:
74+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7175
run: pnpm build:linux --${{ matrix.arch }}
7276

7377
- name: Upload Artifacts
@@ -105,6 +109,8 @@ jobs:
105109
pnpm install
106110
pnpm prepare --${{ matrix.arch }}
107111
- name: Build
112+
env:
113+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
108114
run: pnpm build:mac --${{ matrix.arch }}
109115

110116
- name: Upload Artifacts

dev-app-update.yml

-3
This file was deleted.

electron-builder.yml

+8-11
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ protocols:
2020
- 'clash'
2121
- 'mihomo'
2222
win:
23-
target:
24-
- nsis
23+
target: nsis
2524
requestedExecutionLevel: requireAdministrator
2625
executableName: mihomo-party
27-
nsis:
2826
artifactName: ${name}-windows-${version}-${arch}-setup.${ext}
27+
nsis:
2928
shortcutName: ${productName}
3029
uninstallDisplayName: ${productName}
3130
deleteAppDataOnUninstall: true
@@ -36,15 +35,15 @@ nsis:
3635
mac:
3736
target:
3837
- dmg
38+
- zip
3939
entitlementsInherit: build/entitlements.mac.plist
4040
extendInfo:
4141
- NSCameraUsageDescription: Application requests access to the device's camera.
4242
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
4343
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
4444
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
4545
notarize: false
46-
dmg:
47-
artifactName: ${name}-macos-${version}-${arch}-installer.${ext}
46+
artifactName: ${name}-macos-${version}-${arch}.${ext}
4847
linux:
4948
desktop:
5049
MimeType: 'x-scheme-handler/clash;x-scheme-handler/mihomo'
@@ -53,11 +52,9 @@ linux:
5352
- rpm
5453
maintainer: mihomo-party
5554
category: Utility
56-
deb:
57-
artifactName: ${name}-linux-${version}-${arch}-installer.${ext}
58-
rpm:
59-
artifactName: ${name}-linux-${version}-${arch}-installer.${ext}
55+
artifactName: ${name}-linux-${version}-${arch}.${ext}
6056
npmRebuild: false
6157
publish:
62-
provider: generic
63-
url: https://updater.mihomo.party
58+
provider: github
59+
owner: pompurin404
60+
repo: mihomo-party

0 commit comments

Comments
 (0)