Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

Commit 757c8d8

Browse files
committed
Tauri pre-build command
1 parent 0de5a51 commit 757c8d8

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/release-player.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ jobs:
8888
- name: Install dependencies
8989
run: pnpm install --frozen-lockfile
9090

91-
- name: Build frontend
92-
run: pnpm --filter @nuclearplayer/player build:frontend
93-
9491
- name: Build Tauri app
9592
uses: tauri-apps/tauri-action@v0
9693
env:

packages/player/src-tauri/tauri.conf.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"frontendDist": "../dist",
88
"devUrl": "http://localhost:5173",
99
"beforeDevCommand": "vite",
10-
"beforeBuildCommand": "vite build"
10+
"beforeBuildCommand": "cd ../.. && pnpm --filter @nuclearplayer/player build:frontend"
1111
},
1212
"app": {
1313
"windows": [
@@ -26,7 +26,11 @@
2626
"bundle": {
2727
"active": true,
2828
"targets": "all",
29-
"icon": ["icons/icon.png", "icons/icon.icns", "icons/icon.ico"],
29+
"icon": [
30+
"icons/icon.png",
31+
"icons/icon.icns",
32+
"icons/icon.ico"
33+
],
3034
"linux": {
3135
"deb": {
3236
"depends": []
@@ -62,4 +66,4 @@
6266
}
6367
}
6468
}
65-
}
69+
}

0 commit comments

Comments
 (0)