diff --git a/AGENTS.md b/AGENTS.md index 81e7dba..374f009 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -119,6 +119,7 @@ Tests sit next to the code they test (`*.test.ts` / `*.test.tsx`). | `src/window_material.rs` | Mica / Acrylic behind the window (`window_set_material`): a pure `plan()`, and on Windows the window subclass that keeps it drawn while inactive | | `assets/oauth-done.html` | The page the browser shows after a successful sign-in | | `capabilities/default.json` | Permissions for the main window (least privilege) | +| `icons/` | App icons: the round logo for Windows and Linux; `icon.icns`, a full square made from `macos.svg`, for macOS (docs/DEVELOPMENT.md) | | `tauri.conf.json` | Window, bundle targets, identifier (fixes the data folder; never change it), CSP | | `tests/` | Integration tests through Tauri's IPC layer with the mock runtime: history commands, the sign-in listener, the launcher, launch-plan edge cases, the window material's arguments, every command refusing remote origins; a history benchmark | diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 894caeb..dc2e324 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -115,6 +115,14 @@ The release pipeline builds one macOS app for both Apple silicon and Intel; to d `npm run desktop:build -- --target universal-apple-darwin` (output in `src-tauri/target/universal-apple-darwin/release/`). +**App icons** live in `src-tauri/icons/`. Windows and Linux use the round logo with transparent +corners. macOS has its own icon, `icon.icns`, made from `macos.svg`: a full square with no +transparent edges, which macOS 26 rounds into its app-icon shape. An icon with transparent edges +would be shrunk onto a grey tile instead. To change it, edit the SVG, run +`npx tauri icon src-tauri/icons/macos.svg -o `, and copy only `icon.icns` +from that folder over `src-tauri/icons/icon.icns`. The command makes a whole set; the other files +would replace the round logo. + ### Production web build ```bash diff --git a/src-tauri/icons/icon.icns b/src-tauri/icons/icon.icns index 910599a..5afb825 100644 Binary files a/src-tauri/icons/icon.icns and b/src-tauri/icons/icon.icns differ diff --git a/src-tauri/icons/macos.svg b/src-tauri/icons/macos.svg new file mode 100644 index 0000000..fcccb4a --- /dev/null +++ b/src-tauri/icons/macos.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +