Files
poli0981andClaude Opus 4.7 9892c923b9 Fix Tauri icons + clarify fine-grained PAT permissions
Two release-blocking fixes for v3.0.0.

## Tauri build was failing on every platform

tauri.conf.json referenced icons/32x32.png, icons/128x128.png,
icons/128x128@2x.png, icons/icon.icns, icons/icon.ico — none of which
existed. release_desktop.yml therefore failed at the bundle step on
all three runners.

Generated a 1024×1024 placeholder source PNG (blue panel + white "I"
glyph for Itch.io) and ran `tauri icon` to populate src-tauri/icons/
with the full standard set: the 5 desktop assets the conf needs, plus
the Windows Store / iOS / Android sizes Tauri's CLI emits by default
(harmless to ship; useful if the project ever targets mobile).

The 1024×1024 source itself is added to src-tauri/.gitignore — only
the generated icons are committed. Replacing the placeholder later is
just `npm run tauri icon -- path/to/new-source.png` + commit.

## Fine-grained PAT was getting 403 on workflow_dispatch

Settings page hint told users to give the PAT contents:write +
workflow:write. workflow:write controls editing .github/workflows/*.yml
files (which the webapp doesn't do); the actual call we make,
POST /actions/workflows/{file}/dispatches, requires Actions: Write
instead. Fine-grained PATs created from that hint hit 403; classic
PATs worked because the classic `workflow` scope happens to cover
both.

Rewrote the hint as a checklist:
  - Contents: Read and write (edits / deletes / queueing URLs)
  - Actions: Read and write (dispatching the scraper workflow)
plus a note that classic `workflow` tokens still work but grant
broader access.

SECURITY.md was already correct on this from the v3.0.0 docs pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 14:21:52 +07:00
..