Commit graph

1407 commits

Author SHA1 Message Date
Maciek
ba60ce4d32 feat: added checking for bundle updates on game launch (#778) 2026-09-06 00:12:16 +02:00
Maciek
2cc280bbb0 feat: added an opt-in flow for bundle mods shipped disabled (#737) 2026-09-06 00:12:16 +02:00
Maciek
90fb354857 feat: resource packs and shaders quiet reload (#752) 2026-09-06 00:12:16 +02:00
Julian Chang
72a9b63f24 feat: lower the default memory on lower memory machines (#783) 2026-09-06 00:12:16 +02:00
Julian Chang
86145c7180 feat: prefer the dedicated gpu on windows (#792) 2026-09-06 00:12:16 +02:00
Maciek
e40c0185c4 chore: added dedicated gpu flags (#725) 2026-09-06 00:12:16 +02:00
Maciek
2c43aa16ba feat: added a don't show again option to the update prompt (#723) 2026-09-06 00:12:16 +02:00
Maciek
4aaf974f04 feat: added New/Updated badges to cluster package lists (#734) 2026-09-06 00:12:16 +02:00
Maciek
159e1c7e96 feat: added context menu inside the screenshot viewer (#744) 2026-09-06 00:05:16 +02:00
Maciek
2a36bb8a88 feat: added context menu on homepage clusters (#743) 2026-09-06 00:05:16 +02:00
Maciek
f55a86a024 feat: added a picker for the amount of columns in a row (#784) 2026-09-06 00:05:16 +02:00
Maciek
12783fe59a feat: added MB4/MB5 and Esc navigation globally (#742) 2026-09-06 00:04:57 +02:00
Julian Chang
b2c2289853 fix: stop a stray console window opening on windows (#770) 2026-09-06 00:04:49 +02:00
c063430e26 build: configure dev profile to prevent debug symbol bloat 2026-09-04 19:03:45 +05:30
Julian Chang
0251456b11
Merge branch 'main' of https://github.com/Polyfrost/OneLauncher 2026-09-03 02:22:26 -04:00
Julian Chang
a104c4979a
chore: drop duplicate crate-local sqlx cache 2026-09-02 21:27:39 -04:00
Maciek
fb33693f7d
feat: launcher data folder (#767)
* feat: added disk choice on fresh install

* feat: added protection for corrupted/deleted settings.json

* feat: added migration to another drive for already existing users; changed the default directories

* feat: relocation screen

---------

Co-authored-by: LynithDev <61880709+LynithDev@users.noreply.github.com>
2026-09-02 14:07:20 +02:00
Maciek
25651d0cbc
fix: stray java runtime tmps and version files (#724)
* feat: added removal of .tmp files on launcher start after 10 minutes of being untouched; added removal of java runtime files whenever user deletes java runtime inside java settings (before they were only being deleted from the database, not files)

* feat: added modal for removing java runtimes

---------

Co-authored-by: LynithDev <61880709+LynithDev@users.noreply.github.com>
2026-09-02 13:03:16 +02:00
Julian Chang
b25ff12ab5
feat: delete mods from dead bundles (#746) 2026-09-01 14:03:13 +02:00
Maciek
606a15905d
feat: added ability to decline TOS (#751)
* feat: added ability to decline TOS; added blockades for hosts while TOS is declined

* fix: allowed datastorage-v2, meta.polyfrost.org and status.polyfrost.org

* chore: changed typography

* chore: changed TOS decline warning to a modal
2026-09-01 11:31:47 +02:00
a2ca929e0a fix(skins): calculate exact Minecraft Java UUID character slot for targeted skin injection
Some checks are pending
Release Multiplatform Binaries / build (deb,appimage, linux-x86_64, ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Waiting to run
Release Multiplatform Binaries / build (dmg,app, macos-arm64, macos-14, aarch64-apple-darwin) (push) Waiting to run
Release Multiplatform Binaries / build (dmg,app, macos-x86_64, macos-14, x86_64-apple-darwin) (push) Waiting to run
Release Multiplatform Binaries / build (nsis, windows-x86_64, windows-latest, x86_64-pc-windows-msvc) (push) Waiting to run
Release Multiplatform Binaries / create-release (push) Blocked by required conditions
2026-08-30 18:19:18 +05:30
1f979f5717 fix: resolve mods filter text overlap and ensure 100% reliable skin loading across all MC versions 2026-08-30 17:42:54 +05:30
70b6b0c8b1 docs: remove autoupdater from release notes template 2026-08-30 17:30:42 +05:30
31c294b02a docs: update release notes template to highlight multiplayer skin fix 2026-08-30 17:28:25 +05:30
d1f5a715b8 fix(skins): target player specific UUID default character to prevent multiplayer cloning, bump to 2.2.3-c2 2026-08-30 16:54:51 +05:30
f438445c38 ci: update release changelog and default tag to v2.2.3-c1
Some checks are pending
Release Multiplatform Binaries / build (deb,appimage, linux-x86_64, ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Waiting to run
Release Multiplatform Binaries / build (dmg,app, macos-arm64, macos-14, aarch64-apple-darwin) (push) Waiting to run
Release Multiplatform Binaries / build (dmg,app, macos-x86_64, macos-14, x86_64-apple-darwin) (push) Waiting to run
Release Multiplatform Binaries / build (nsis, windows-x86_64, windows-latest, x86_64-pc-windows-msvc) (push) Waiting to run
Release Multiplatform Binaries / create-release (push) Blocked by required conditions
2026-08-30 14:51:06 +05:30
f84fec2c35 feat(updater): implement direct GitHub Releases auto-updater with cracked revision support (2.2.3-c1) 2026-08-30 14:43:16 +05:30
05dac19dd2 feat(skins): directly replace default textures in client jar, add zip resource pack, and fix options.txt formatting
Some checks are pending
Release Multiplatform Binaries / build (deb,appimage, linux-x86_64, ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Waiting to run
Release Multiplatform Binaries / build (dmg,app, macos-arm64, macos-14, aarch64-apple-darwin) (push) Waiting to run
Release Multiplatform Binaries / build (dmg,app, macos-x86_64, macos-14, x86_64-apple-darwin) (push) Waiting to run
Release Multiplatform Binaries / build (nsis, windows-x86_64, windows-latest, x86_64-pc-windows-msvc) (push) Waiting to run
Release Multiplatform Binaries / create-release (push) Blocked by required conditions
2026-08-30 13:17:09 +05:30
f125ac2d0b ci: ensure previous release assets are purged on re-release 2026-08-30 09:50:48 +05:30
d7618833ef chore: keep version as 2.2.3 2026-08-30 09:44:00 +05:30
b4128fc8f7 release: v2.2.4 (remove portable executables from release artifacts) 2026-08-30 09:35:48 +05:30
a3a3d74fd6 refactor: polish codebase, clean clippy lints, and ensure test suite passes 2026-08-30 09:22:58 +05:30
cea98e9923 fix: browser-to-settings transition crash & full in-game skin asset coverage
- Fix crash when transitioning from Browse to Settings:
  * Prevent UI thrashing by executing router settle in use_side_effect rather than during render
  * Add PartialEq/Eq to BrowserUiState and use use_side_effect_with_deps in Browser component
- Fix in-game skin loading across all Minecraft versions:
  * Modern Minecraft (1.19.3 - 1.21.x) default player skin resolution covers all 9 character models (Steve, Alex, Ari, Efe, Kai, Makena, Noor, Sunny, Zuri) for both wide and slim model paths
  * Legacy Minecraft (1.8 - 1.19.2) entity texture paths (textures/entity/steve.png, alex.png)
  * Multi-mod directory synchronization: CustomSkinLoader, OfflineSkins, cachedImages for cluster game dir and shared .minecraft
  * Safe options.txt patching supporting both resourcePacks and incompatibleResourcePacks list formats
2026-08-29 23:30:02 +05:30
de9416573a refactor: replace authlib-injector with zero-overhead resource pack skin injection
Remove the entire skin_server.rs module and authlib-injector approach (HTTP server,
JVM agent, jar download). Replace with a dead-simple resource pack strategy:

- inject_skin_resource_pack() in launch.rs:
  * On every launch, if the player has a saved skin, writes it to
    resourcepacks/onelauncher_skin/assets/minecraft/textures/entity/player/wide/steve.png
    and .../slim/alex.png (both variants so it always matches)
  * Writes a pack.mcmeta with supported_formats 1-9999 covering all MC versions
  * Patches options.txt to add/keep 'file/onelauncher_skin' in the resourcePacks list
  * If no custom skin is saved, cleans up the pack dir and removes the options.txt entry
- patch_resource_packs_option() handles safe idempotent read-modify-write of options.txt
- Remove skin_server module from game/mod.rs
- Remove authlib_injector_path() from paths.rs
- Revert jvm_args to immutable (no longer needs push)

No extra dependencies, no background threads, no network requests.
2026-08-29 20:11:47 +05:30
52c29c034e feat: in-game offline skin support via authlib-injector + local skin server
- Add packages/oneclient_core/src/game/skin_server.rs:
  * Local Tokio TCP skin server that serves a minimal Yggdrasil-compatible API
  * Responds to GET /, GET /session/minecraft/profile/:uuid, GET /textures/:uuid.png
  * Reads skin PNGs and metadata from launcher skins dir
  * sync_offline_skins() copies PNG to CustomSkinLoader/skins/, config/offlineskins/, cachedImages/skins/
  * prepare_authlib_injector() downloads authlib-injector-1.2.5.jar on first launch
- Modify packages/oneclient_core/src/game/launch.rs:
  * Start skin server and attach -javaagent authlib-injector before spawning Minecraft
  * Sync skins to cluster game dir mod folders on every launch
- Add authlib_injector_path() to packages/oneclient_common/src/paths.rs
- Remove dead fetch_skin_online() from skin.rs + all exports
2026-08-29 20:00:45 +05:30
2a040f8e91 perf: eliminate account dropdown micro-delays with global avatar caching and dev optimization 2026-08-29 19:21:11 +05:30
005e7ce77b fix(skins): isolate UrlModal and PreviewPanel as Component structs to prevent conditional hooks 2026-08-29 18:47:44 +05:30
5a7ecf9293 fix(lifecycle): isolate navbar components and eliminate startup query borrow collisions 2026-08-29 18:39:59 +05:30
714dadf388 fix(hooks): eliminate conditional hooks and add render keys to Avatar and PlayerModel 2026-08-29 18:30:28 +05:30
a363af6d20 feat(skins): integrate full offline skin changer with 3D preview, model toggle, file import, and online URL lookup 2026-08-29 17:46:22 +05:30
6a20bcfec5 ci: add rust caching and safe in-place release publishing 2026-08-29 17:11:03 +05:30
6f7977c734 fix(account_switcher): spawn detached async task for account switching to avoid unmounted scope crash 2026-08-29 17:08:53 +05:30
ddfe500494 chore: update repository links to OneLauncher-Cracked 2026-08-29 15:32:11 +05:30
d801eed647
Update README.md 2026-08-29 09:58:05 +05:30
bcfe8b8ea4
Update README.md 2026-08-29 09:57:44 +05:30
03b76306c2 docs: update repository link to OneClient-Cracked 2026-08-29 08:41:39 +05:30
f17ab744d2 fix(onboarding): ensure async offline account creation completes before navigating 2026-08-29 07:37:48 +05:30
27de1c3bd4 docs: update repository and release links to OneClientCracked 2026-08-29 07:22:54 +05:30
a659448ac6
Update README.md 2026-08-29 07:18:29 +05:30
1a552f0c5e ci: set fail_on_unmatched_files false for release publisher 2026-08-29 06:46:14 +05:30