mirror of
https://github.com/moku-project/Moku.git
synced 2026-06-13 09:19:56 -05:00
Fix: Inject Bundle Resources Via --config Flag
This commit is contained in:
@@ -125,15 +125,15 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sed -i 's/"beforeBuildCommand": "pnpm build"/"beforeBuildCommand": ""/' src-tauri/tauri.conf.json
|
sed -i 's/"beforeBuildCommand": "pnpm build"/"beforeBuildCommand": ""/' src-tauri/tauri.conf.json
|
||||||
jq '.bundle.resources = ["binaries/suwayomi-bundle/**"]' src-tauri/tauri.conf.json > tmp.json
|
|
||||||
mv tmp.json src-tauri/tauri.conf.json
|
|
||||||
|
|
||||||
- name: Build Tauri app (Windows x64)
|
- name: Build Tauri app (Windows x64)
|
||||||
uses: tauri-apps/tauri-action@v0
|
uses: tauri-apps/tauri-action@v0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
args: --target x86_64-pc-windows-msvc
|
args: >-
|
||||||
|
--target x86_64-pc-windows-msvc
|
||||||
|
--config '{"bundle":{"resources":["binaries/suwayomi-bundle/**"]}}'
|
||||||
|
|
||||||
- name: Upload Windows installer
|
- name: Upload Windows installer
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user