Skip to content

Add app icon source + cross-platform (macOS/Windows/Linux) release workflow#1

Merged
DevoidSloth merged 1 commit into
mainfrom
release-pipeline
Jun 1, 2026
Merged

Add app icon source + cross-platform (macOS/Windows/Linux) release workflow#1
DevoidSloth merged 1 commit into
mainfrom
release-pipeline

Conversation

@DevoidSloth

Copy link
Copy Markdown
Owner

What

Two related things needed to ship cross-platform builds:

  1. Commit the app icon source. Adds src-tauri/icon.svg (the hand-built aperture-mark source) and the full tauri 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.
  2. Add a cross-platform release pipeline at .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 via tauri-apps/tauri-action:

Runner Output
macos-latest Universal .dmg (one file runs on Apple Silicon + Intel)
windows-latest NSIS .exe + MSI .msi
ubuntu-22.04 .deb + .AppImage

Triggers:

  • Push a v* tag → builds all platforms and publishes that release.
  • Manual dispatch → builds all platforms and uploads to the release for the tag you supply (e.g. v0.1.0).

After merge

Run the workflow (tag v0.1.0) — or push a new v* 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

- 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).
@DevoidSloth
DevoidSloth merged commit 8ee2b1a into main Jun 1, 2026
2 checks passed
@DevoidSloth
DevoidSloth deleted the release-pipeline branch June 1, 2026 00:56
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