Commit Graph
396 Commits
Author SHA1 Message Date
objz 2029005c78 added: vanilla launch flow uses LaunchProfile with render + raw-byte storage
vanilla launches now read upstream mojang JSON via the new LaunchProfile
path, render game/JVM args through launch_profile::render with template
substitution, and store the cached meta.json byte-for-byte instead of
re-serializing through a narrow struct. legacy stripped meta.json files
are re-fetched on first launch. adds HttpClient::get_bytes and
fetch_version_meta_with_raw; collapses the two library-rule evaluators
into one shared launch_profile::rules::evaluate.
2026-05-25 14:51:34 +02:00
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 50e31f38bb fix(config) default config now uses the rmcl name instead the old mcl 2026-05-20 16:00:22 +02:00
objz 2cc0173873 Merge pull request #7 from objz/hardcoded-min/max-mem
fix(tui): memory_min/max now hardcoded values
2026-05-19 19:58:14 +02:00
objz 681f7974d6 ci: run check, clippy, test, and build on linux, macos, and windows
Expands the PR verification workflow into a cross-platform matrix so we
catch platform-specific breakage before merge. Adds concurrency to cancel
superseded PR runs.
2026-05-19 19:56:13 +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 17bb771020 doc: fixed naming 2026-05-13 21:57:38 +02:00
objz c3ea0bc592 ci(winget): set GH_REPO so gh release upload finds the repo without a checkout 2026-05-13 21:26:54 +02:00
objz f594d1ae49 docs: rename project references in README, changelog config, and issue templates v0.3.0 2026-05-13 21:06:34 +02:00
objz 2bc0728a48 ci: update release workflows for rmcl rename 2026-05-13 21:06:34 +02:00
objz bf65814b7d chore(chocolatey): rename package to rmcl 2026-05-13 21:06:34 +02:00
objz a407d460f7 chore(aur): rename PKGBUILDs to rmcl/rmcl-bin/rmcl-git with replaces= for upgrade 2026-05-13 21:06:34 +02:00
objz 35ecf2f810 chore(wix): rename MSI product from mcl-launcher to rmcl 2026-05-13 21:06:34 +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 d9004f3761 fixed readme 2026-05-02 18:52:30 +02:00
objz 1dcd625ea2 fix: chocolatey issue and readme install 2026-05-02 18:50:36 +02:00
objz f226358b1c ci: include winget manifest in releases 2026-04-27 14:52:01 +02:00
objz de6af2de18 ci: fixed aur checksums and chocolatey workflow v0.2.4 2026-04-27 13:17:41 +02:00
objz ff7bb55faa ci: fixed duplicate runs 2026-04-27 12:54:27 +02:00
objz 495a4b3fa1 ci: fixed chocolatey workflow and hombrew 2026-04-27 12:51:29 +02:00
objz 3d8b3deb74 ci: fixed aur checksums and workflows 2026-04-27 12:32:31 +02:00
objz ec378b0b59 fix: trigger release workflow via dispatch after creating tag
API-created tags don't emit push events, so the release workflow
never started. Now tag-release explicitly dispatches the release
workflow after creating the tag.
2026-04-26 22:10:44 +02:00
objz a0a03a8f8f fix: tag-release re-tags when existing tag points to wrong commit
Previously if a tag already existed (e.g. from a failed release),
tag-release would skip because the version matched the latest tag.
Now it detects stale tags pointing to the wrong SHA and re-creates them.
2026-04-26 22:09:01 +02:00
objz 2acbec94c9 ci: fixexed tag release failing 2026-04-26 22:06:43 +02:00
objz ec016293cb Merge branch 'master' of https://github.com/objz/mcl 2026-04-26 22:03:28 +02:00
objz b4b1b0ffca fix: release workflow fixes and version bump to 0.2.4
- Fix AUR mcl-launcher-bin package path for dist tarballs
- Fix WinGet manifest validation by removing leftover sha256 file
- Use RELEASE_TOKEN for homebrew tap access
- Restore git-cliff changelog in GitHub releases
- Remove shell/powershell installer scripts from dist config
2026-04-26 22:02:23 +02:00
objz 0a7f9282cc fix: release workflow fixes and version bump to 0.2.4
- Fix AUR mcl-launcher-bin package path for dist tarballs
- Fix WinGet manifest validation by removing leftover sha256 file
- Use RELEASE_TOKEN for homebrew tap access
- Restore git-cliff changelog in GitHub releases
- Remove shell/powershell installer scripts from dist config
2026-04-26 21:59:59 +02:00
objz 6d6e67bbba ci: fixexed tag release v0.2.3 2026-04-26 21:38:31 +02:00
objz 1a6c6ad9f5 ci: fixed releases wont get the right tag 2026-04-26 21:34:26 +02:00
objz 1feb1679ff fix: clippy errors 2026-04-26 21:27:14 +02:00
objz 441607f0da ci: add release packaging 2026-04-26 21:22:01 +02:00
objz 33b2d856bc feat: require verified account for offline play 2026-04-26 20:37:52 +02:00
objz de9d11e2f3 chore(release): v0.2.2 v0.2.2 2026-04-25 15:41:31 +02:00
objz b43ed3e807 fix(ci): include version in release tarball filenames
tarballs are now named mcl-{version}-{target}.tar.gz instead of
mcl-{target}.tar.gz so each release has unique filenames. this
prevents package manager caches from serving stale downloads.
2026-04-25 15:40:38 +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 7c1de45a2a chore(release): v0.2.1 v0.2.1 2026-04-25 12:36:49 +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