Commit Graph
9 Commits
Author SHA1 Message Date
emil28092005 3f3be65a3f merge: preserve ShaCraft 0.1.1 account and Windows features in modular launcher 2026-09-09 13:10:17 +03:00
emil28092005 cde13c4489 refactor: modularize launcher UI and native services with verified IO 2026-09-09 12:55:15 +03:00
Emil 513be6274f feat: require ShaCraft account for launcher identity 2026-09-07 14:26:37 +03:00
Emil b0c2687677 fix launcher UI and game launch pipeline 2026-09-06 18:12:22 +03:00
emil28092005 cc19a24e45 feat: install and launch Minecraft with NeoForge and Microsoft login
Wires up the actual game pipeline behind the existing ShaCraft manifest
sync: Mojang version resolution, Java 21 auto-provisioning via Adoptium,
headless NeoForge installation, real Microsoft/Xbox/Minecraft Services
login, and an offline account mode, then builds and spawns the java
process itself.

- mojang.rs: vanilla trust boundary, inheritsFrom version-JSON merge,
  asset/library downloading with a worker pool and per-file retries
- neoforge.rs: runs NeoForge's own installer headlessly, with live
  progress parsed from its output against its own install_profile.json
- runtime.rs / java.rs: detects a usable local Java or provisions one
  from Eclipse Temurin, with real download progress
- msa.rs: device-code OAuth -> Xbox Live -> XSTS -> Minecraft Services,
  gated on ShaCraft registering its own Azure AD app (see MSA_CLIENT_ID)
- session.rs / launch.rs: offline deterministic UUIDs and the merged
  java invocation itself
- download.rs: shared verified-download helper (temp file, hash,
  atomic rename, retries, progress) used across all of the above and
  refactored into profile.rs
- UI: account mode toggle (Microsoft/offline), login modal, and real
  per-stage install progress instead of start/done placeholders
2026-09-06 05:09:50 +03:00
emil28092005 c37d38522e docs: add launcher agent context 2026-09-06 01:33:46 +03:00
emil28092005 693330e7e8 feat: verify signed launcher manifests 2026-09-06 01:12:09 +03:00
emil28092005 31e9573fbf feat: restrict manifest downloads to ShaCraft hosts 2026-09-06 00:37:19 +03:00
emil28092005 a573b0f503 feat: add validated launcher manifest v1 2026-09-06 00:32:30 +03:00