Skip to content

Add-ons: a self-installing app instead of the tarball - #11

Merged
brahm merged 1 commit into
mainfrom
claude/community-addons-d72yc0
Oct 19, 2026
Merged

brahm merged 1 commit into
mainfrom
claude/community-addons-d72yc0

Conversation

@brahm

@brahm brahm commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Requested by Brahm · project thread

Before: the community add-ons were a tarball on GitHub Packages with Comunidade.xpx, a static cr, extract-data.sh and instalar-addons.sh; installing meant extracting it and running a shell script.

After: they ship as one file, CoreRules-Addons-VERSION-x86_64.AppImage, a GTK 4 and libadwaita window with the add-ons built in. It shows the data folder the app uses (or lets you pick another), and Instalar backs up UserDbas/ and Chars/, imports the add-ons and offers the log. It uses the icon Brahm sent. GitHub Packages (corerules-addons) now publishes this AppImage.

The installer does what instalar-addons.sh did, through cr-store instead of the cr binary: the same two import passes, the same marker so a second install skips the characters, and the same confirmation for a folder inside a Wine prefix. On a clean copy of the data package it wrote UserDbas/ byte for byte like the script; only the time-based character file names differ. Without a data folder it points to the app's new "Extrair dados do CD…" menu item (#10), so it does not depend on extract-data.sh.

How: a new crate, crates/cr-addons (binary corerules-addons), embeds addons/Comunidade.xpx.xz and unpacks it with lzma-rs. The workspace keeps it out of default-members, so the app's .deb, .rpm, Flatpak and AppImage do not build or carry it; CI now runs clippy and tests with --workspace. packaging/appimage/build.sh and build-in-sdk.sh take an optional addons target, and the Addons package workflow builds that AppImage in the GNOME 51 SDK and pushes it with ORAS. packaging/addons/ is removed, and addons/README.md, the report and the main README describe the installer.


Generated by Claude Code

The community add-ons now ship as one AppImage: corerules-addons, a GTK 4
and libadwaita window (crates/cr-addons) with Comunidade.xpx built in. It
finds the data folder the app uses, backs up UserDbas and Chars, imports
the add-ons through cr-store in the same two passes as instalar-addons.sh
and leaves a log; installing again skips the characters. The icon is the
one Brahm sent for it. The workspace leaves the crate out of default
builds, so the app packages do not carry the add-ons; packaging/appimage
builds either AppImage and the Addons package workflow publishes the
installer on GitHub Packages. The tarball, its build script and the shell
installer are gone.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1HBxYSKFxuBSED6FSFH5j
@brahm
brahm merged commit b5b91b5 into main Oct 19, 2026
17 checks passed
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.

2 participants