Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,18 @@ whether it came as the Flatpak, the .deb, .rpm or pacman package or an AppImage,
and speaks the app's six languages. Its [README](addons/README.md) says
what is inside, how it was built and how to install it.

**Import Add-ons…**, in the main menu on Linux, the More menu on Windows
and the File menu on the Mac, brings in every add-on in a folder at once.
The folder is searched with its subfolders and the ZIP archives in it (as
the add-ons were shared), each `.xpx` and `.xpt` package is read and told
apart by what it holds, and the list shows what comes in, what is found
twice and what cannot be imported, with why, before anything is written.
Import then copies the user databases and characters to a backup beside the
data folder, imports the packages from the oldest file to the newest
(characters already in the list are left out), copies the `.bmp` pictures
to where the imported records look for them (or where a `pictures.tsv`
beside them says), and writes a log of everything it did.

## Reporting problems

Please [open an issue](https://github.com/brahm/corerules/issues) for anything
Expand Down
1 change: 1 addition & 0 deletions crates/cr-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ cr-formats.workspace = true
cr-i18n.workspace = true
cr-store.workspace = true
flate2 = "1"
zip = { version = "2", default-features = false, features = ["deflate"] }
image.workspace = true
2 changes: 2 additions & 0 deletions crates/cr-app/src/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ actions! {
IMPORT = "win"."import";
/// Import from Core Rules 2.0…
IMPORT_CORE20 = "win"."import-core20";
/// Import Add-ons…: every add-on in a folder at once.
IMPORT_ADDONS = "win"."import-addons";
NEW_PACKAGE = "win"."new-package";
EDIT_PACKAGE = "win"."edit-package";
HELP = "win"."help";
Expand Down
Loading
Loading