Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

Add desktop publish step for MacOS Intel (#26)

Hakan Shehu7067347110e0
diff --git a/.github/workflows/publish-desktop-app.yml b/.github/workflows/publish-desktop-app.yml
index 5c79ea00..83b136f1 100644
--- a/.github/workflows/publish-desktop-app.yml
+++ b/.github/workflows/publish-desktop-app.yml
@@ -135,7 +135,7 @@ jobs:
run: |
npm ci
- - name: Publish and Notarize Electron App (macOS)
+ - name: Publish and Notarize Electron App (macOS Apple Silicon)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_ENV: production
@@ -146,7 +146,20 @@ jobs:
KEYCHAIN_PASSWORD: ${{ env.KEYCHAIN_PASSWORD }}
working-directory: apps/desktop
run: |
- npm run publish -- --mac
+ npm run publish -- --mac --arch="arm64"
+
+ - name: Publish and Notarize Electron App (macOS Intel)
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ NODE_ENV: production
+ APPLE_ID: ${{ secrets.APPLE_ID }}
+ APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
+ APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
+ KEYCHAIN_PATH: ${{ env.KEYCHAIN_PATH }}
+ KEYCHAIN_PASSWORD: ${{ env.KEYCHAIN_PASSWORD }}
+ working-directory: apps/desktop
+ run: |
+ npm run publish -- --mac --arch="x64"
- name: Delete Temporary Keychain
if: always()
diff --git a/apps/desktop/forge.config.ts b/apps/desktop/forge.config.ts
index 56b9e4a0..cb94f706 100644
--- a/apps/desktop/forge.config.ts
+++ b/apps/desktop/forge.config.ts
@@ -77,7 +77,6 @@ const config: ForgeConfig = {
}),
}),
new MakerDMG({
- name: 'Colanode',
icon: 'assets/colanode-logo-black.png',
title: 'Colanode',
}),