Repository navigation
Add-ons: a self-installing app instead of the tarball - #11
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Brahm · project thread
Before: the community add-ons were a tarball on GitHub Packages with
Comunidade.xpx, a staticcr,extract-data.shandinstalar-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 upUserDbas/andChars/, 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.shdid, throughcr-storeinstead of thecrbinary: 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 wroteUserDbas/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 onextract-data.sh.How: a new crate,
crates/cr-addons(binarycorerules-addons), embedsaddons/Comunidade.xpx.xzand unpacks it withlzma-rs. The workspace keeps it out ofdefault-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.shandbuild-in-sdk.shtake an optionaladdonstarget, and theAddons packageworkflow builds that AppImage in the GNOME 51 SDK and pushes it with ORAS.packaging/addons/is removed, andaddons/README.md, the report and the main README describe the installer.Generated by Claude Code