The bundle manifest (bundle.yml) copies share/doc/ from the tarball,
which includes the license files, but the from-source Flathub manifest
does not install them. Add an install command for LICENSE-MIT and
LICENSE-APACHE so the Flatpak built from source includes the same
license files under /app/share/doc/craft-anything/.
The .desktop file lists seven keywords for desktop search
(reverse engineering, disassembler, binary, analysis, executable,
decompiler, inspect) but the AppStream metainfo only has three.
Software centres use <keywords> for search ranking.
Add the three missing keywords (executable, decompiler, inspect) so
both files cover the same search terms.
On GNOME Wayland the desktop shell passes an activation token
(XDG_ACTIVATION_TOKEN) when StartupNotify is true. The app has no code
to consume or clear this token, and the window library (winit/eframe)
does not handle it either, so GNOME's startup-notification timeout
kills the process 5-8 seconds after an icon launch. Terminal launches
and gtk-launch, which do not set the token, work fine.
Setting StartupNotify=false stops GNOME from passing the token and
from applying its startup timeout. StartupWMClass is kept: GNOME uses
it independently for window grouping.
Trade-off: with StartupNotify=false, GNOME no longer shows the
spinning cursor ("starting" feedback) while the app opens.
A follow-up roadmap line tracks investigating the root cause (the app
not consuming the activation token) and re-enabling launch feedback
once that is fixed.
What changed:
- packaging/linux/ai.storyteller.craft-anything.desktop:
StartupNotify=true -> StartupNotify=false
- docs/ROADMAP.md: ticked line under R5.1, plus an open line for the
follow-up investigation
Verified:
- The reporter confirmed that StartupNotify=false is a working
workaround
- No Rust code references XDG_ACTIVATION_TOKEN or DESKTOP_STARTUP_ID
Not verified:
- Not tested with the Flatpak installed from this change on a GNOME
Wayland desktop (no GNOME environment available here)
- Not tested on the .deb or AppImage, which ship the same file
Closes#1929
On Fedora (and other GTK desktops), the hicolor icon cache is not
rebuilt after the AppImage copies its icons into $XDG_DATA_HOME.
The desktop keeps showing a generic icon until the user logs out
or manually runs gtk-update-icon-cache.
Add a conditional cache refresh to the AppRun integration step:
- Track whether any icon file was actually copied (changed).
- Only refresh if the cache file (icon-theme.cache) already exists,
so we never create one where the desktop hasn't built one yet.
- Skip silently when gtk-update-icon-cache is not installed.
The fix lives in the AppImage's own AppRun rather than in the
launcher because the launcher (appimagelauncher) is a separate
project with its own release cycle, and many users run AppImages
directly without it. Both fixes are complementary.
Tested on Fedora 41 (GNOME 47, Wayland) by launching from the app
grid after clearing the icon cache. The correct icon appeared on
the first launch without a logout.
Closes#1877
The deb, rpm, AppImage and Flatpak all ship craft-anything-cli beside
the desktop app, but the metainfo only declares the GUI binary. Add a
second <provides><binary> element for the CLI so appstreamcli and
software centres know the package provides it.
Inside the AppImage and Flatpak the CLI is not on the host's PATH, so
this tells the package manager the binary exists in the package even
though the person's shell won't find it by name.
Add a ticked roadmap line under R5.1.
Verified: the change passes xmllint and the metainfo structure matches
the AppStream specification for <provides><binary>.
* feat(updates): add manual release checks and verified native updates
* chore: bump version to 0.6.1
* fix(flatpak): honor the launcher version choices
* fix(updates): report restart outcomes without UI process side effects
* fix(i18n): translate updater controls in the complete catalogs
* test: document native updater startup as UI plumbing
* packaging: use [[ for bash tests (SonarCloud S7688)
Behaviour-preserving: `[[ ]]` in place of `[ ]` for bash tests (SonarCloud shell:S7688). Every script has a bash shebang; no test uses `-a`/`-o`, escaped parentheses or an unquoted pattern on the right of `=`. `bash -n` passes on each script; the rest is left to CI.
Clears all 81 open issues: `packaging/{linux,macos,freebsd,web}/*.sh`.
* packaging/web: parse the wasm size override as base 10 under [[
Inside [[ ]], -gt evaluates its operands arithmetically: a leading zero reads as octal and other text as an expression. Read the override as a base-10 number, as photocraft does.
The AppImage build uses pinned releases of appimagetool and the runtime, checks each against its SHA-256 and hands appimagetool the checked runtime, so it downloads nothing itself. The four hashes match GitHub's digests for those release assets.
The Linux AppImage runs its bundled CLI with --cli as the first argument, or when started through a link named craft-anything-cli, so MCP clients can use it (fixes#723).
Fixes#505. The Flatpak grants home read-only, so new projects in the default folder (~/Documents/Craft Anything) failed with "Read-only file system". Both manifests now also grant xdg-documents/Craft Anything:create; the rest of home stays read-only.
A native, pure-Rust app that shows anyone how a piece of software works, with
evidence-backed answers, then helps them rebuild it. It ships a desktop app, a
CLI and an MCP server, all driven by one engine.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>