16 Commits
Author SHA1 Message Date
BFlat 08f88171f7 Merge pull request #2056 from ilijachrchev/bugfix/1929-startup-notify-flatpak
Disable StartupNotify in the Linux .desktop file (R5.1, #1929)
2026-11-24 18:10:56 +07:00
BFlat 7236efbacf Merge pull request #2222 from ilijachrchev/bugfix/flatpak-install-licenses
Install license files in Flatpak from-source manifest
2026-11-24 18:02:56 +07:00
ilijachrchev 912436336c Install license files in Flatpak from-source manifest
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/.
2026-11-20 10:43:00 +00:00
ilijachrchev 8cba01471a Add missing keywords to AppStream metainfo
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.
2026-11-20 10:42:18 +00:00
ilijachrchev 5e67fd773f Disable StartupNotify in the Linux .desktop file (#1929)
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
2026-11-20 10:40:51 +00:00
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
Ilija Chrchev f64423062b List craft-anything-cli in the AppStream metainfo (R5.1) (#2120)
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>.
2026-11-19 20:01:37 -07:00
Dylan M. Taylor 5b3f1d818f Add Help > Check for Updates and bump to 0.6.1 (#1706)
* 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
2026-11-11 19:43:41 -05:00
Dylan M. Taylor 55aa8d36f6 packaging: use [[ for bash tests (SonarCloud S7688) (#1588)
* 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.
2026-11-10 18:56:01 -05:00
oracola91 f5ce98581f Pin appimagetool and the AppImage runtime, and check their hashes (#1013)
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.
2026-11-07 02:03:20 +08: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
BFlat 7c20db27cc Let the Flatpak create and write its default projects folder (#565)
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.
2026-11-03 15:12:57 +07:00
Dylan M. Taylor bbe46663cc ci: switch CI/CD to craft-common-actions and add Flatpak OCI (#12) 2026-11-01 12:21:23 +07:00
Brandon ThomasandClaude Opus 5.5 8c0d7b0a38 Point links and release metadata at the renamed storytold/craft-anything repository (#7)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:30:51 -04:00
Brandon ThomasandClaude Opus 5.5 c316051c9e Point links and release metadata at the storytold/craftanything repository (#1)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 11:01:25 -04: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