Commit Graph
138 Commits
Author SHA1 Message Date
objz 22e4481a2b added: launch_profile foundation primitives (rules, templates, model)
introduce the launch_profile module with the core types and pure functions
needed to parse, evaluate, and substitute against mojang-format version
JSON: Rule/OsCondition/FeatureSet with a single rule evaluator,
TemplateContext + substitute() for ${var} expansion, and the
LaunchProfile schema mirroring mojang's on-disk shape. no consumers yet.
2026-05-25 14:02:18 +02:00
objz a54e53038a fix(tui): memory_min/max now uses the real values from the config.toml instead of hardcoded values. same for java_path 2026-05-19 19:33:54 +02:00
objz ae2524f2ce feat!: rename project from mcl/mcl-launcher to rmcl
Renames Cargo package, binary, internal path identifiers, java shim,
user-agent, log filename, desktop shortcut Exec lines, and CLI program
name. Wires src/migrate.rs into main() so existing users have their
on-disk data (~/.config/mcl/, ~/.local/share/mcl/, ~/.cache/mcl/) moved
to the new locations on first launch.

BREAKING CHANGE: binary is now named rmcl. Old paths are auto-migrated.
2026-05-13 21:06:34 +02:00
objz 2b3aa4df32 feat(migrate): add legacy mcl→rmcl path migration module 2026-05-13 21:06:34 +02:00
objz d5cbc11c8a fix(tui): use open::that_detached to prevent freeze when opening directories 2026-05-02 21:42:43 +02:00
objz 2ea20b0a99 fix: renamed details.rs to settings.rs; the name was outdated as the label change to settings 2026-05-02 21:36:22 +02:00
objz 1feb1679ff fix: clippy errors 2026-04-26 21:27:14 +02:00
objz 33b2d856bc feat: require verified account for offline play 2026-04-26 20:37:52 +02:00
objz 035bae98d9 fix(logs): show real filename for live log and keep content on instance stop
the live log entry now shows the actual log filename in green instead
of a generic "Live" label. when the instance stops while viewing the
live log, the viewer transitions to the on-disk file so the content
stays visible instead of going blank.
2026-04-25 15:34:20 +02:00
objz 82665bd4e6 merge: resolve conflicts keeping streaming load and notify watcher 2026-04-25 15:23:49 +02:00
objz 82d215f58b feat(content): streaming load and event-driven file watching with notify
replace mtime polling with the notify crate (v8) for cross-platform
file watching via inotify/FSEvents/ReadDirectoryChanges. the initial
load now streams entries one by one through an mpsc channel so mods
appear as they are scanned instead of waiting for the full batch.

file changes detected by notify trigger a background directory diff
that applies incremental updates: toggles, removals, and per-file
scans for new entries. no full rescan ever happens after initial load.
instance switching restores from the in-memory cache instantly.
2026-04-25 15:19:54 +02:00
objz 52747158e9 refactor(content): extract per-file scan functions for incremental updates
split scan_one_mod, scan_one_resource_pack, scan_one_shader, and
scan_one_world out of their directory-level scan functions. the
directory-level wrappers now delegate to these. this allows the file
watcher to scan individual new files without rescanning the entire
directory.
2026-04-25 15:19:43 +02:00
objz 1019169100 fix(tui): restore terminal on panic to prevent apparent freezes
without a panic hook, any panic left the terminal in raw mode with
the alternate screen active, making it look like the app froze.
2026-04-25 15:19:34 +02:00
objz 5dbb2be873 no-mistakes(lint): fix(lint): rustfmt formatting in mods.rs 2026-04-25 14:25:04 +02:00
objz 9f463c80bc feat(content): extract mod icons and metadata from all loader formats
adds support for quilt.mod.json, META-INF/mods.toml (forge),
META-INF/neoforge.mods.toml, and mcmod.info (legacy forge) in
addition to fabric.mod.json. falls back to logo.png, icon.png,
and pack.png at the jar root when metadata has no icon path.
2026-04-25 13:02:33 +02:00
objz aa19e5bde1 fix(tui): allow navigating filtered results after searching
enter now confirms the search and returns focus to the list so items
can be selected, toggled, etc. pressing / returns to the search bar
with the query intact, esc clears it.
2026-04-25 12:40:42 +02:00
objz ce34a28776 refactor(instance): split launch module and compile java shim from source 2026-04-25 12:31:29 +02:00
objz edb8efd033 feat(auth): cache minecraft access tokens to avoid unnecessary refreshes 2026-04-25 12:31:29 +02:00
objz b3da19cbaf fix(instance): apply edited memory config immediately 2026-04-25 11:52:38 +02:00
objz e2caf66c19 fix(logging): applied env filter to global logging and applied timestamp saving. The readme was updated aswell 2026-04-23 20:13:08 +02:00
objz 0b1f259cee fix: added retry logic when it fails because network instabillities 2026-04-22 20:13:57 +02:00
objz 4d055a58e9 fix: changed portablemc's client id to mcl's that now got approved 2026-04-22 20:08:17 +02:00
objz 2bfad8b441 fix(auth): switch back to portablemc's client id, until mcl's get approved 2026-04-20 19:54:18 +02:00
objz ea59e39159 added fallback icons for resource packs and worlds
resource packs and worlds without icons now show a placeholder "?"
pattern like mods already do. worlds use a larger 12x6 variant.
2026-04-20 19:25:05 +02:00
objz a29c90e86b added support for old forge versions (pre-1.13)
old forge installers don't have --installClient, so we extract the
universal jar and library info directly from install_profile.json
inside the installer jar. also tries multiple maven URL formats since
forge naming is inconsistent across versions.
2026-04-20 19:24:54 +02:00
objz 5f3f7890aa added mmc/prism modpack import and refactored import module
split import.rs into import/ module with mod.rs, mrpack.rs, mmc.rs.
auto-detects pack format from zip contents (modrinth.index.json or
mmc-pack.json). moved input parsing from net/modrinth.rs to the
import module since it handles routing for all formats now.
2026-04-20 19:24:47 +02:00
objz 90caad474b fix readme 2026-04-19 18:21:55 +02:00
objz 52787b57c7 fix: switch default profile to terminal and fixed some comments 2026-04-18 19:44:59 +02:00
objz 971375bf1f fix: resolve clippy issues 2026-04-18 17:09:01 +02:00
objz 47dad69321 refactor: upgrade crates and restructure project 2026-04-18 16:59:27 +02:00
objz ea093c044f feat(desktop): embed icon, shorten keybind label, add toggle feedback 2026-04-05 16:05:31 +02:00
objz 86d217903a fix(theme): add missing label_fg field to LogsTheme resolution 2026-04-05 15:38:14 +02:00
objz e18b18c0be feat(desktop): add per-instance desktop shortcut toggle 2026-04-05 15:12:48 +02:00
objz 3047086fa2 fix(theme): align popup_import fields with popup_new_instance pattern 2026-03-28 18:48:22 +01:00
objz f7349cada3 feat(theme): add dedicated popup_import theme section 2026-03-28 18:14:35 +01:00
objz 9070bef585 fix(tui): use error_buffer for import errors 2026-03-15 16:38:44 +01:00
objz 344358762f fix(tui): remove duplicate hint text from import input step 2026-03-15 16:12:27 +01:00
objz 6f8c6e6d9a fix(tui): move import keybind to content bar 2026-03-15 15:45:52 +01:00
objz dcadf1b1cc fix(tui): remove source step, add keybind hints 2026-03-15 15:24:18 +01:00
objz f0c0051a1f fix: remove redundant rebindings for clippy 2026-03-15 15:08:33 +01:00
objz 5914e68b69 feat(tui): integrate import wizard into layout event loop 2026-03-14 15:52:07 +01:00
objz 8a9d6f9941 feat(tui): add import modpack wizard rendering 2026-03-14 15:28:19 +01:00
objz 6f44652622 feat(tui): add import wizard state machine and input handling 2026-03-14 15:05:42 +01:00
objz fa0e47c487 feat(cli): add mcl import command 2026-03-14 14:32:14 +01:00
objz 9dbbe2d448 feat(import): add import execution with parallel downloads 2026-03-14 14:15:38 +01:00
objz b5d4d58fd9 feat(modrinth): add API client and mrpack parser 2026-03-07 17:42:56 +01:00
objz 24eb902ea5 feat(modrinth): add API types, mrpack manifest, and URL parsing 2026-03-07 17:08:22 +01:00
objz 9751243b3a fix: replace assert! with panic! for clippy 2026-02-22 16:02:35 +01:00
objz 973602fcfb test(config): add config loading tests 2026-02-22 15:15:18 +01:00
objz 73465a8b12 test(screenshots): add scan and filtering tests 2026-02-22 15:05:44 +01:00