fix(macos): package the app as SolidCraft (#347) (#354)

This commit is contained in:
Nathan Dane authored and GitHub committed 2026-10-12 14:37:35 -04:00
1 parent 882ef0e9c6
commit 4eaadf3099
8 files changed
+73 -21

No files matched your search

+11
View File
@@ -19,6 +19,17 @@ cargo run --release -p solvecraft -- --sample # opens with a sample part
`solvecraft design.solvecraft` opens a saved design. Windows builds cross-compile from Linux with
`cargo xwin build --release --target x86_64-pc-windows-msvc -p solvecraft`.
### macOS
Open the release `.dmg` and drag `SolidCraft.app` onto Applications.
When updating from an older `SolveCraft.app`, quit the app and rename the existing
app in Applications to `SolidCraft.app` first. Then drag the new app onto Applications
and choose **Replace**. If you already have both names installed, move the old
`SolveCraft.app` to the Trash. The DMG does not remove old installations automatically.
Remove any Dock shortcut with the old name, open the new app from Applications, and
choose **Options > Keep in Dock**. Designs, settings and the bundle ID are unchanged.
### Linux Flatpak
Install Flatpak using your distribution's package manager. For an installation that receives
+1 -1
View File
@@ -37,7 +37,7 @@ solidcraft --sample
On Linux, this installs the SolidCraft desktop entry, MIME definition and generated icon
sizes alongside the commands. On macOS the package contains the binaries only; for a bundled
`SolveCraft.app`, use the release `.dmg`. NixOS/Home Manager can instead put the flake's
`SolidCraft.app`, use the release `.dmg`. NixOS/Home Manager can instead put the flake's
`packages.${system}.solidcraft` in `environment.systemPackages`/`home.packages`.
If a non-NixOS desktop does not discover profile-installed launchers, ensure that
its session includes `~/.nix-profile/share` in `XDG_DATA_DIRS`, then log out and
+6 -2
View File
@@ -9,8 +9,12 @@ version bump and no patch release for every merge.
## Compatibility names and deployment
SolidCraft is the product display name. Keep existing release asset filenames, including
`SolveCraft-{version}-windows-x64.exe`, `SolveCraft.app` and `solvecraft-cli` archives, together
with installed package IDs and settings paths. Do not rewrite published 0.2.0 or 0.2.1 assets,
`SolveCraft-{version}-windows-x64.exe` and `solvecraft-cli` archives, together
with installed package IDs and settings paths. The macOS DMG now contains `SolidCraft.app`
with a `SolidCraft` bundle executable and icon; its bundle ID remains
`ai.storyteller.solvecraft`. Include the one-time macOS upgrade instructions from
`.github/release-notes.md` so users replace an existing `SolveCraft.app` rather than
installing a second copy. Do not rewrite published 0.2.0 or 0.2.1 assets,
checksums, tags or historical release notes.
Project Pages publishes the documentation, browser app and published-release Flatpak