diff --git a/.forgejo/workflows/desktop.yml b/.forgejo/workflows/desktop.yml index 25a53ac..005e5c3 100644 --- a/.forgejo/workflows/desktop.yml +++ b/.forgejo/workflows/desktop.yml @@ -155,6 +155,15 @@ jobs: run: npm ci && npm run build working-directory: frontend + # tauri-build generates a Windows Resource file and needs `icons/icon.ico`, + # which the repo doesn't carry — only the PNG set the Linux bundles use. + # Generating it from the committed 1024px source keeps one icon of record + # instead of a hand-made .ico that could silently drift from the brand art. + # Linux doesn't need this step, which is why it lives here and not in `build`. + - name: Generate the Windows icon set + run: cargo tauri icon app-icon.png + working-directory: desktop/src-tauri + # --runner cargo-xwin swaps cargo for the cross-compiling driver (it supplies # the MSVC CRT/SDK, pre-warmed into the image, and links with lld-link). # Frontend already built above; skip the beforeBuildCommand rebuild.