413 Commits
Author SHA1 Message Date
Dylan M. Taylor 66beafa52e Allow going back to an older version over the launcher's own Flatpak; bump to 0.19.2 (#1416)
* Allow going back to an older version over the launcher's own Flatpak

* Bump to 0.19.2
2026-11-11 20:28:56 -05:00
Dylan M. Taylor eb6f1fb35a Show pinned version padlocks with confirmed unlocking; bump to 0.19.1 (#1406)
* Show pinned version locks and confirm before unlocking

* chore: bump version to 0.19.1
2026-11-11 15:26:01 -05:00
Dylan M. Taylor 53b1127dfb Updates: take craft-update from craft-libs main at 6e03f65bf 2026-11-11 13:08:09 -05:00
Dylan M. Taylor f6409da7f7 Load signed hosted launcher catalog with offline fallback (#1115)
* Load and verify the signed website catalog with bundled fallback

* Preserve signed fixture bytes across platforms and fix web lint

* Document the opt-in live catalog integration check
2026-11-11 06:45:32 -05:00
Dylan M. Taylor 5b19f76540 fix: swap SoundCraft and WordCraft display order (#1392) 2026-11-11 06:23:15 -05:00
skylar taylor-barrick c636281786 Merge pull request #1205 from FractalEncrypt/fix/windows-startup-backend-fallback
fix(windows): start on OpenGL when Direct3D 12 fails, and say why when nothing can (#1081)
2026-11-10 20:48:18 +01:00
Dylan M. Taylor 6e24ed6ee1 Add AniCraft to the launcher suite 2026-11-09 20:12:45 -05:00
Dylan M. Taylor adeec406f9 Merge pull request #1352 from mergenchik/fix/detect-package-owned-binaries
Ask which package owns a binary before running it for its version (Linux detection)
2026-11-09 19:59:11 -05:00
Martin Ball 78b3036e0d feat: add MailCraft as a community app
Add MailCraft (UCS-Care-Group/mailcraft) to the catalog as a community app by
UCS Care Group, with its icon, licences, details page and tagline in every
complete catalog. Downloads are checked against its SHA256SUMS.txt. Its macOS
builds are unsigned, so mac_team is None: the launcher opens an installed copy
there but installs nothing.

AGENTS.md lists its repo as an approved community app (approved 2026-11-08).
2026-11-10 00:23:15 +00:00
Mergen A d1e4940680 fix(linux): ask the package database who owns a binary before running it for its version 2026-11-09 18:35:14 +05:00
Mergen A 3af10d873d fix(windows): the session's hold is named for its lifetime, not for reading 2026-11-09 17:07:55 +05:00
Mergen A 95c751964d fix(native): batch places go back on every early way out, and the session installs only what it hashed 2026-11-09 17:07:55 +05:00
Mergen A 3438aa0a97 fix(windows): the batch session reports only as itself, and falls back only when over
Two review findings on the one-prompt session:

- The results file is bound to its session by a random token, written as
  the file's first line and carried in the held manifest; a leftover or
  planted file in the downloads folder can no longer pass for a
  session's report. The session's name is only taken once its results
  and process-id files are free too.
- The waiting side falls back to one-by-one installs only when the
  elevated session is shown to be over (its process waited out, or its
  process id gone). A session that was launched but cannot be seen to
  finish - a slow antivirus start-up, a process that will not open -
  now reports an error per app instead of racing a second installer.
2026-11-09 17:07:55 +05:00
Mergen A 72c2da2138 fix(native): the one Windows-only test Job missing the batch field
The Linux gate never compiles this test, and Windows clippy stops at the
first hard error, so the field came to light only once the errors before
it were fixed.
2026-11-09 17:07:55 +05:00
Mergen A 31c596ff2b fix(native): the Windows-only batch code as Windows clippy sees it
Clippy on Windows (never compiled on the Linux gate) asked for two
things: run_msi now keeps to its caller's module, the visibility its
Package argument already has, and the session's cleanup-on-error uses
inspect_err, which is what removing a pid file on the way out is.
2026-11-09 17:07:55 +05:00
Mergen A 00b01bc64a fix(native): a batch member that ends before the installer frees the rest at once
A job whose run_install ends before the installer is reached (a
repository-managed Flatpak, a missing release, the overwrite question, a
paused download) dropped its batch's gather without leaving it, so the
rest of the batch waited out the full ten-minute cap before their shared
prompt. The backend now holds the place with the same BatchPlace guard
install_at uses, so every way out of a job gives the place back.
2026-11-09 17:07:55 +05:00
Mergen A 88e55c8d67 i18n: translate the batch-updates setting into Georgian and Traditional Chinese (Taiwan)
The two languages landed on main after this branch started; their menus are
complete, so the new settings string needs a row in each.
2026-11-09 17:07:55 +05:00
Mergen A 4c8fc814d6 fixed bug causing build fail 2026-11-09 17:07:55 +05:00
Mergen A 6dffb7b8cf Update all apps with single approved batch installation. 2026-11-09 17:07:55 +05:00
FredApps afa903afd4 Merge pull request #352 from MMexicann/fix/download-size-preview
Preview download sizes before installing or updating
2026-11-09 11:56:21 +01:00
skylar taylor-barrickandAxoIsAxo e815485485 fix(macos): respect disabled Gatekeeper assessments (#1091)
* fix(macos): respect disabled Gatekeeper assessments

* fix(macos): read disabled assessment status on exit 1

* fix(native): allow the macOS-only exit details on other targets

Linux and Windows clippy (-D warnings) flagged RunOutput::code and the test
constructors as unused there. Same change as #1177.

Co-authored-by: AxoIsAxo <133877250+AxoIsAxo@users.noreply.github.com>

---------

Co-authored-by: AxoIsAxo <133877250+AxoIsAxo@users.noreply.github.com>
2026-11-08 21:51:41 -06:00
Dylan M. Taylor a6eee0ca29 chore(catalog): remove ArtCraft Studio from launcher suite 2026-11-07 20:22:54 -05:00
Dylan M. Taylor 1c8ec31d16 fix(native): bind macOS DMG replacement write to approved path 2026-11-06 23:35:23 -05:00
Dylan M. Taylor 7ef47365cd Address review feedback on macOS bundle names, asset parsing, and xtask sync 2026-11-06 23:11:00 -05:00
Dylan M. Taylor 0ee0259c85 Format platform and native backend tests with cargo fmt 2026-11-06 22:17:14 -05:00
Dylan M. Taylor 3f9d0afab0 Support Studio release assets, skip ArtCraft on FreeBSD, and list as app #01
- Support ArtCraft Studio's published MSI and DMG asset formats in parse_asset_name while preserving existing asset naming
- Add real artcraft-release.json fixture and test asset selection across desktop platforms
- Add runs_on to CraftApp and filter out ArtCraft Studio on FreeBSD across backend and UI
- List ArtCraft Studio as app #01 in the README Craft App Suite table and xtask APPS array
2026-11-06 22:14:12 -05:00
Dylan M. Taylor 3ebc696f5d Translate the ArtCraft Studio tagline across complete catalogs 2026-11-06 19:19:48 -05:00
Dylan M. Taylor 07129aadd2 Parse Studio release tags for launcher version comparisons 2026-11-06 16:20:26 -05:00
Dylan M. Taylor 23e73f20eb Add ArtCraft Studio to the launcher without a publisher badge 2026-11-06 15:53:04 -05:00
Zinadin ZidanandClaude Opus 5.5 792ad93cee fix(native): a hidden login entry, or one that starts another app, isn't on in the Flatpak (#1204)
The Flatpak check took any entry with this app's X-Flatpak and a flatpak run
Exec as on, also one a startup manager had hidden (Hidden=true, or GNOME's
X-GNOME-Autostart-enabled=false) or whose Exec started a different app.
It now reads the [Desktop Entry] keys as desktop-entry parsers do and
counts the entry only when it isn't hidden and its Exec is exactly the line
this launcher writes for its own app id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 04:16:55 +06:00
Zinadin ZidanandClaude Opus 5.5 3170113f47 fix(native): an old host-build login entry doesn't count in the Flatpak; grant the autostart folder (#1204)
After switching from the host build to the Flatpak, the old host entry has
the same file name, so the setting showed on while its Exec still named the
host program. In the Flatpak only the Flatpak form (X-Flatpak=<id> and an
Exec of flatpak run) counts as on, and turning it on rewrites an old entry.

Both manifests grant xdg-config/autostart:create. Flatpak resolves that
on the host and binds the folder at its own path (common/flatpak-context.c,
common/flatpak-exports.c), so the entry can be written there also when
$XDG_CONFIG_HOME is outside home, and the folder is made on a fresh account.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 04:01:11 +06:00
Mex e45c5898d1 fix(native): retry download reports invalidated during planning
Recompute the current revision, options and download plan when report_download rejects stale work. Add a real publication-boundary regression that fails with a missing plan before the fix and checks the accepted size plus Paused/Ready events. Local validation: serial native suite 279 passed, 3 existing ignored; Windows MSI integration 1 passed; strict all-target Clippy and repository formatting passed. The first parallel suite hit two unchanged HTTP fixture failures; both pass in the complete serial run.
2026-11-05 20:56:20 +01:00
Mex a3eee4e826 fix(native): publish the final download plan before job completion
Move the existing plan report after detected-state publication so post-job invalidation does not erase it. Strengthen the real-worker JobFinished observer regression: it fails with a missing plan before the fix. Full native validation passes 278 unit tests (3 existing ignored), the Windows MSI integration test, strict all-target Clippy and scoped formatting.
2026-11-05 20:21:08 +01:00
Mex 0fe9788bba test(native): await asynchronous download replanning
Observe the background Configure result before exercising stale-report rejection. Keep the existing plan and installed-format assertions, while excluding unrelated apps from the no-stale-events check. Full native validation: 278 tests passed, 3 existing ignored, plus the Windows MSI integration test; strict all-target Clippy passed.
2026-11-05 19:51:54 +01:00
Zinadin ZidanandClaude Opus 5.5 70c79f38f4 fix(native): Start on login works inside the Flatpak (#1204)
Inside the Flatpak the autostart entry went into the sandbox's own config
folder (~/.var/app/<id>/config/autostart), which the host session never
reads, and its Exec line named the in-sandbox /app/bin path. When
/.flatpak-info exists the entry now goes into the host's autostart folder
($HOST_XDG_CONFIG_HOME, else ~/.config), is named after the Flatpak app id,
and starts the app with `flatpak run --command=artcraft-launcher <id>
--hidden` plus X-Flatpak, as the XDG Background portal writes it. Outside a
Flatpak the path and the entry are unchanged. Both manifests note that the
entry relies on --filesystem=home.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 00:50:41 +06:00
Mex 58e93b970a test(ui): initialize download state in new installability fixtures
Keep the two newly merged upstream UI fixtures compatible with the existing download-size fake. Initialize its empty cache without changing either installability assertion.
2026-11-05 19:48:45 +01:00
Mex 09985179e4 Merge branch 'main' into fix/download-size-preview 2026-11-05 19:39:42 +01:00
FredApps 39a345c7fd Merge pull request #1252 from arnav-hiwarkar/feat/open-without-updating
Open the installed copy without updating, and never offer an update that can't install
2026-11-05 18:02:26 +01:00
arnav-hiwarkarandClaude Opus 5.5 7c09fb79f4 test(ui): cover the dialog, the note's tooltip, Reinstall and stacked rows strictly
- The dialog's Install is disabled with a reason for a refused version.
- The out-of-reach tooltip in card and table; no note for a repository
  copy; the note for a release without a download here.
- Clicking Reinstall installs; clicking a greyed-out Install version X
  sends nothing.
- German rows: a single main button must sit on the menu's line, a
  stacked pair must be centred on it and stay out of the next row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 20:27:09 +05:30
arnav-hiwarkarandClaude Opus 5.5 0fba50e46b fix(ui): the version dialog follows the installability answer; centre a stacked pair
- The version dialog's Install used has_download, so for a copy the
  backend can't replace it stayed enabled and the install was refused
  (CodeRabbit). version_installs and version_refusal are now shared by
  the card's Install version X and the dialog: both are disabled and
  say why on hover.
- A stacked Open/Update sat at the top of its table row, 7 px above the
  menu; it is now laid out at its own size and centred like the rest.
- Docs of AppEntry::installable and AppStatus::Installed say what the
  answer means now: an install would go ahead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 20:27:09 +05:30
arnav-hiwarkarandClaude Opus 5.5 786a00018c fix(native): never probe the system under the reporting lock; document both Installable paths
- When a copy appears between a publisher looking and taking reporting,
  the answer uses the view its detection asked for (last_system_kinds)
  instead of probing there. A copy only enters installed through
  publish_detected, which asks first.
- Event::Installable's doc covers both emissions: in the batch with the
  Latest or Detected it depends on, and alone when only the plan changes.
- Tests: no probe under the lock (expired view kept), a plan report's
  answer follows the current settings, a concurrent poll never splits a
  pair.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 20:27:09 +05:30
arnav-hiwarkarandClaude Opus 5.5 8b1a3666d6 fix(ui): say why Install version X is disabled, and no out-of-reach note while a version is kept
- A disabled 'Install version X' for a version that can't replace this
  copy says so on hover (Jeremy8776).
- The 'latest X' note for a release that can't install here only shows
  while the app follows the latest release: right after a version is
  chosen, the old track's release is refused for that alone (Jeremy8776).
- Tests: the note in the table, the kept-version case, a repository
  Flatpak keeping Reinstall.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:46:23 +05:30
arnav-hiwarkarandClaude Opus 5.5 95b5959cce fix(native): the installability answer knows a repository Flatpak updates with flatpak update
run_install updates a repository-managed Flatpak with flatpak update (on
Linux, on the stable track) before any download is planned, but the
answer treated it as managed elsewhere and said no, so the new Reinstall
gate hid the launcher's only route to that update (Jeremy8776).
repository_update now holds that rule, and both run_install and the
answer ask it. The system_kinds doc says when it runs under a lock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:46:23 +05:30
FredApps 27d5e8f3f4 Merge branch 'main' into fix/1070-version-size-date 2026-11-05 14:52:26 +01:00
arnav-hiwarkarandClaude Opus 5.5 e47d7e8df9 test(native): an older worker waiting behind a report gets the new settings
Stages the race deterministically: a report in progress holds the
planning lock, a worker started before the settings change waits behind
it, the preferred format changes, and the worker's report is checked to
be the new one. Capturing settings at the worker's start would fail it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:17:52 +05:30
arnav-hiwarkarandClaude Opus 5.5 0651ba5702 fix(native): every kept-download report uses the current settings, one at a time
Detection, an install's end and a check's end reported kept downloads
with settings captured when their thread started, so one could land
after the report of a newer settings change and show a stale Resume or
Retry. report_partial now reads the settings itself under a planning
lock, so whichever report comes last was worked out last.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:16:29 +05:30
arnav-hiwarkarandClaude Opus 5.5 5f97629197 fix(native): a settings change works out downloads again off the UI thread
Configure recomputed every app's planned download on the UI thread, and
inside the Flatpak sandbox each asks the host (up to 3 s). That now runs
on a thread, one at a time, each with the settings as they are when it
starts, so the newest settings have the last word. Installs and planned
downloads still ask the system afresh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:13:24 +05:30
arnav-hiwarkarandClaude Opus 5.5 0342a60df2 feat(ui): note a newer release that can't install here, and gate Reinstall and Install version on it
- An installed copy behind a release the launcher can't install over it
  shows 'latest X' beside its version, with a tooltip saying why, the
  way a version kept on purpose does (Jeremy8776).
- The single update button keeps its full accessible name when its label
  is shortened (Jeremy8776).
- Reinstall and 'Install version X' only show or enable where an install
  would go ahead, so they can't end in 'has no download' (Jeremy8776).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:10:19 +05:30
arnav-hiwarkarandClaude Opus 5.5 e8fc6723fd fix(native): installability uses current settings and asks the system outside the lock
- The answer reads the backend options when it is worked out, so a job
  that started before a settings change no longer answers with the old
  version track (Jeremy8776).
- What the system can install is asked before the reporting lock is
  taken and kept for a minute: in the Flatpak sandbox asking runs
  flatpak-spawn on the host (up to 3 s). Installs still ask afresh
  (Jeremy8776, CodeRabbit).
- No answer, and nothing asked, for an app that isn't installed: the UI
  only uses it for an installed copy. Startup's cached replay, before
  detection, no longer asks at all.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:10:19 +05:30
arnav-hiwarkarandClaude Opus 5.5 3c60bebc7e perf(native): installability doesn't ask pacman how to word a refusal
install_plan takes how a copy managed elsewhere is explained. Installs
keep the full message (with pacman -Si naming the repository); the
installability answer, which runs on every check under the reporting
lock, only needs yes or no.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 18:55:54 +05:30