Skip to content

Install, update and uninstall apps from LaunchX - #2

Merged
sergiudm merged 1 commit into
mainfrom
feat/install-update
Nov 19, 2026
Merged

sergiudm merged 1 commit into
mainfrom
feat/install-update

Conversation

@sergiudm

Copy link
Copy Markdown
Contributor

LaunchX can now install apps, not only run them.

A manifest may carry a top-level [install] table naming its installer, an uninstaller, the tools it needs and where the app keeps the user's data (SPEC §4.9). With it:

  • lx install <git URL | owner/repo | folder> clones a repository into ~/.launchx/sources/<name> (a folder is installed where it is), shows the services, installer and data paths, asks, then stops what was running, runs the installer, registers the app and starts it again.
  • lx update [name…] pulls each app and reruns its installer when there is something new. --check only reports. The launcher also checks at start and every twelve hours.
  • lx uninstall <name> stops the app, runs its uninstaller, unregisters it and deletes the checkout LaunchX cloned. The data stays.
  • The page gets Install app (the plan shown before anything runs), Check for updates, and Update / Uninstall on each installed app's card, run as one job at a time with output in the log panel.
  • installs.json records each app's source, checkout, commit and data paths (SPEC §10.8).

Also: cards no longer overflow a phone-width screen.

Tested with tests/install.rs, which installs, updates and uninstalls a git repository through the CLI and the API against a real daemon, and by hand on the page.

Companion change in Schedule Everything: AutoPhd-org/schedule-everything#22 adds its [install] table and an uninstaller.

🤖 Generated with Claude Code

A manifest can now say how to install its project from a checkout, in a
top-level [install] table: the installer, an uninstaller, the tools it
needs, and where the app keeps the user's data (SPEC §4.9).

- lx install <git URL | owner/repo | folder> clones a repository into
  ~/.launchx/sources/<name> (a folder is installed where it is), shows the
  services, the installer and the data paths, asks, then stops what was
  running, runs the installer, registers the app and starts it again.
- lx update pulls each app and reruns its installer when there is
  something new; --check only reports. The launcher also checks at start
  and every twelve hours.
- lx uninstall stops the app, runs its uninstaller, unregisters it and
  deletes the checkout LaunchX cloned. The data stays.
- installs.json records each app's source, checkout, commit and data.
- The page gets Install app (with the plan shown first), Check for
  updates, and Update / Uninstall on each installed app's card. These run
  as one job at a time, its output streamed to the log panel.
- Cards no longer overflow a phone-width screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant