mirror of
https://github.com/moku-project/Moku.git
synced 2026-06-13 09:19:56 -05:00
[V1] Patched Tauri-Targets & Removed Bun Detection
This commit is contained in:
@@ -77,9 +77,10 @@ jobs:
|
|||||||
- name: Install JS dependencies
|
- name: Install JS dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
# bun being present causes tauri-action to misdetect the package manager
|
# bun being present causes tauri-action to misdetect the package manager;
|
||||||
- name: Remove bun
|
# unlink it if present (it may not be installed on all runner images)
|
||||||
run: brew uninstall --ignore-dependencies bun || true
|
- name: Remove bun if present
|
||||||
|
run: which bun && brew uninstall --ignore-dependencies bun || true
|
||||||
|
|
||||||
# Import Apple signing cert into a fresh keychain so codesign can find it.
|
# Import Apple signing cert into a fresh keychain so codesign can find it.
|
||||||
# If secrets are not set this step is a no-op and the build continues unsigned.
|
# If secrets are not set this step is a no-op and the build continues unsigned.
|
||||||
@@ -181,7 +182,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
args: >
|
args: >
|
||||||
--target aarch64-apple-darwin
|
--target aarch64-apple-darwin
|
||||||
--config '{"build":{"beforeBuildCommand":""}}'
|
--config '{"build":{"beforeBuildCommand":""},"bundle":{"targets":["dmg","macos"]}}'
|
||||||
|
|
||||||
- name: Build Tauri app (x86_64)
|
- name: Build Tauri app (x86_64)
|
||||||
uses: tauri-apps/tauri-action@v0
|
uses: tauri-apps/tauri-action@v0
|
||||||
@@ -196,7 +197,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
args: >
|
args: >
|
||||||
--target x86_64-apple-darwin
|
--target x86_64-apple-darwin
|
||||||
--config '{"build":{"beforeBuildCommand":""}}'
|
--config '{"build":{"beforeBuildCommand":""},"bundle":{"targets":["dmg","macos"]}}'
|
||||||
|
|
||||||
- name: Upload arm64 .dmg
|
- name: Upload arm64 .dmg
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -285,4 +286,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: moku-universal
|
name: moku-universal
|
||||||
path: moku-universal.dmg
|
path: moku-universal.dmg
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"targets": ["appimage", "dmg", "macos"],
|
"targets": "all",
|
||||||
"icon": [
|
"icon": [
|
||||||
"icons/32x32.png",
|
"icons/32x32.png",
|
||||||
"icons/128x128.png",
|
"icons/128x128.png",
|
||||||
|
|||||||
Reference in New Issue
Block a user