Fix: Switch Tauri Conf to Windows Specific

This commit is contained in:
Youwes09
2026-03-21 23:26:33 -05:00
parent b6ef2b1b3c
commit d3e62a7a08
4 changed files with 12 additions and 12 deletions
+1 -3
View File
@@ -129,8 +129,6 @@ 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/bin/Suwayomi-Server.jar", "binaries/suwayomi-bundle/jre/**/*"] | .bundle.externalBin = []' \
src-tauri/tauri.conf.json > tmp.json && mv tmp.json src-tauri/tauri.conf.json
echo "tauri.conf.json patched:" echo "tauri.conf.json patched:"
cat src-tauri/tauri.conf.json cat src-tauri/tauri.conf.json
@@ -139,7 +137,7 @@ jobs:
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 src-tauri/tauri.windows.conf.json
- name: Upload Windows installer - name: Upload Windows installer
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
+2 -8
View File
@@ -26,9 +26,7 @@
}, },
"bundle": { "bundle": {
"active": true, "active": true,
"targets": [ "targets": ["nsis"],
"nsis"
],
"icon": [ "icon": [
"icons/32x32.png", "icons/32x32.png",
"icons/128x128.png", "icons/128x128.png",
@@ -43,11 +41,7 @@
"installerIcon": "icons/icon.ico", "installerIcon": "icons/icon.ico",
"installMode": "currentUser" "installMode": "currentUser"
} }
}, }
"resources": [
"binaries/suwayomi-bundle/bin/Suwayomi-Server.jar",
"binaries/suwayomi-bundle/jre/**/*"
]
}, },
"plugins": { "plugins": {
"shell": { "shell": {
+8
View File
@@ -0,0 +1,8 @@
{
"bundle": {
"resources": [
"binaries/suwayomi-bundle/bin/Suwayomi-Server.jar",
"binaries/suwayomi-bundle/jre/**/*"
]
}
}
+1 -1
View File
@@ -144,7 +144,7 @@
{#if store.history.length === 0} {#if store.history.length === 0}
<div class="empty"> <div class="empty">
<ClockCounterClockwise size={32} weight="light" class="empty-icon" /> <ClockCounterClockwise size={32} weight="light" class="empty-icon" />
<p class="empty-text">No reading store.history yet</p> <p class="empty-text">No reading history yet</p>
<p class="empty-hint">Chapters you read will appear here</p> <p class="empty-hint">Chapters you read will appear here</p>
</div> </div>
{:else if sessions.length === 0} {:else if sessions.length === 0}