Add app icon source + cross-platform (macOS/Windows/Linux) release workflow#1
Merged
Conversation
- src-tauri/icon.svg: hand-built aperture-mark icon source, plus the full tauri-icon-generated set (Windows/macOS/iOS/Android). - .github/workflows/release.yml: tauri-action matrix that builds a macOS universal DMG, Windows (NSIS+MSI), and Linux on native runners and attaches them to the GitHub Release (tag push or manual dispatch).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two related things needed to ship cross-platform builds:
src-tauri/icon.svg(the hand-built aperture-mark source) and the fulltauri icon-generated set (Windows.ico, macOS.icns, all PNG/Square sizes, plus iOS/Android). The icon must live in the repo so CI builds embed it..github/workflows/release.yml.Why a workflow for macOS
macOS (and Linux) bundles cannot be cross-compiled from Windows — they need native
codesign/hdiutil/lipo/WebKit tooling. The workflow runs each target on its own native GitHub runner viatauri-apps/tauri-action:macos-latest.dmg(one file runs on Apple Silicon + Intel)windows-latest.exe+ MSI.msiubuntu-22.04.deb+.AppImageTriggers:
v*tag → builds all platforms and publishes that release.v0.1.0).After merge
Run the workflow (tag
v0.1.0) — or push a newv*tag — and the macOS DMG + Linux artifacts get attached to the release alongside the Windows installers already there.Note: code signing
These builds are unsigned (no Apple Developer ID / no Windows Authenticode cert). On macOS, Gatekeeper will warn on first launch — users open via right-click → Open, or
xattr -cr /Applications/ccanvas.app. Adding signing later is just CI secrets; no code changes.🤖 Generated with Claude Code