3 Commits
Author SHA1 Message Date
Ilija Chrchev 1d28fc6439 Refresh user icon cache after AppImage desktop integration (#1877) (#2115)
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
2026-11-19 20:02:02 -07:00
BFlat 01c2634199 The Linux AppImage runs its CLI with --cli or through a link named craft-anything-cli (#725)
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).
2026-11-04 08:01:20 +07:00
Brandon ThomasandClaude Opus 5.5 f64ae3bf3c Craft Anything
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>
2026-10-31 10:52:14 -04:00