Skip to content

Commit

Permalink
fix: package all dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: seven <[email protected]>
  • Loading branch information
Blankll committed Jun 4, 2024
1 parent ac1f583 commit 112dcf9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ jobs:
LICENSE
out/make/**/*.{dmg,rpm,deb,Setup.exe}
- name: Distribute artifacts to R2
uses: ryand56/r2-upload-action@master
if: steps.tag_release.outputs.successful
with:
r2-account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
r2-access-key-id: ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
r2-secret-access-key: ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}
r2-bucket: ${{ secrets.CLOUDFLARE_ARTIFACTS_R2 }}
source-dir: out/make/
destination-dir: dockit
# - name: Distribute artifacts to R2
# uses: ryand56/r2-upload-action@master
# if: steps.tag_release.outputs.successful
# with:
# r2-account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# r2-access-key-id: ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }}
# r2-secret-access-key: ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}
# r2-bucket: ${{ secrets.CLOUDFLARE_ARTIFACTS_R2 }}
# source-dir: out/make/
# destination-dir: dockit
16 changes: 10 additions & 6 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ const config: ForgeConfig = {
asar: true,
icon: iconPath,
executableName: 'DocKit',
osxSign: {},
osxNotarize: {
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_ID_PASSWORD,
teamId: process.env.APPLE_TEAM_ID,
},
appBundleId: 'club.geekfun.dockit',
// osxSign: {
// identity: 'Developer ID Application: Lisheng Zi (Z44247ZSR9)',
// },
// osxNotarize: {
// appleId: process.env.APPLE_ID,
// appleIdPassword: process.env.APPLE_ID_PASSWORD,
// teamId: process.env.APPLE_TEAM_ID,
// },
},
rebuildConfig: {},
makers: [
Expand All @@ -27,6 +30,7 @@ const config: ForgeConfig = {
description,
iconUrl: 'https://gitee.com/geek-fun/dockit/raw/master/public/dockit.png',
setupIcon: `${iconPath}.ico`,
noDelta: true, // Disables delta updates
}),
new MakerRpm({
options: { homepage, icon: `${iconPath}.png` },
Expand Down

0 comments on commit 112dcf9

Please sign in to comment.