Skip to content

Copy the generated dictionary data into desktop builds - #360

Merged
squirelworks merged 1 commit into
mainfrom
fix/desk-build-dictionary-data
Nov 15, 2026
Merged

squirelworks merged 1 commit into
mainfrom
fix/desk-build-dictionary-data

Conversation

@squirelworks

Copy link
Copy Markdown
Owner

Scope: .github/scripts/build_desk.py

With #359 in, the v0.1.4 desktop builds got further, but the Linux and macOS smoke tests failed (run). Their check for squirrelgo-dictionary/www/data/meta.js found nothing. The workflow generates that folder with tools/fetch_data.sh, but it's gitignored, and the build script only copied tracked files. The Windows build passed only because Windows has no smoke test, so its zip was missing the dictionary data too. Desktop builds have failed on every release since v0.1.0.

The build script now also copies a short list of generated folders when they exist, currently just the dictionary's www/data/, and prints a warning when one is missing.

After merge, rerun Desk desktop builds with tag squirrelgo-v0.1.4.

Checks: python3 .github/scripts/pr_guard.py --base origin/main --head HEAD

@github-actions

Copy link
Copy Markdown
Contributor

Merge verdict: SAFE TO MERGE (PR guard passed on b7bf3d6). Use "Squash and merge".

PR guard output
Merge base 044a43af20; 1 files changed; 1 files touched by the branch's own commits.

Scope: .github/scripts/build_desk.py

PR guard: passed

@squirelworks
squirelworks merged commit 5ea357d into main Nov 15, 2026
1 check passed
@squirelworks
squirelworks deleted the fix/desk-build-dictionary-data branch November 15, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant