Unlucky Launcher v0.0.1-alpha
CI / fmt (rustfmt --check) (push) Canceled after 0s
CI / clippy (ubuntu-latest) (push) Canceled after 0s
CI / clippy (windows-latest) (push) Canceled after 0s
CI / test (ubuntu-latest) (push) Canceled after 0s
CI / test (windows-latest) (push) Canceled after 0s
CI / build release (ubuntu-latest) (push) Canceled after 0s
CI / build release (windows-latest) (push) Canceled after 0s
Guards / core 零 UI 守门 (push) Canceled after 0s
Guards / 文件行数 ≤400 守门 (push) Canceled after 0s
Guards / 依赖许可与来源(cargo-deny) (push) Canceled after 0s

Rust 原生单文件 Minecraft 启动器:CLI 完整可用(install/launch/accounts/java/diagnose/agent),
MCP server 接入外部 Agent 工具,GUI 开发中。
This commit is contained in:
AskaEth committed 2026-10-31 21:54:10 +08:00
commit bc41dfcf7d
517 files changed
+92844

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
//! Unlucky-Launcher 领域库(`unlucky_core`)。
//!
//! 本 crate **零 UI 依赖**:UI 框架(Slint)只允许出现在 `crates/app`。
//! 这是对 HMCL「HMCLCore 34 处 import javafx」架构债的正面修正,
//! 由 `.github/workflows/guards.yml` 的 `core-no-ui` job 在 CI 守门。
//!
//! core 对 UI 的回调只有三条通道(见 `DevDocs/PlanDoc/01-tech-stack-and-architecture.md` §3):
//! 1. 不可变快照发布;2. 事件流(启动/下载/诊断 JSONL 事件);3. 注入的显示服务接口(进度/确认)。
//!
//! 设计定稿索引:`DevDocs/PlanDoc/00-master-architecture.md`。
//! 各模块的设计文档在对应 `mod.rs` 的模块注释里点名。
//!
//! 当前状态:P0 脚手架,只有模块骨架与设计注释,实现按 M12–M15/M18 分批落地。
#![forbid(unsafe_code)]
pub mod addon;
pub mod auth;
pub mod diagnose;
pub mod download;
pub mod game;
pub mod launch;
pub mod platform;
pub mod setting;