From d85834037e0ad73fb3ce62a2a1ff8666865d4357 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 16 Aug 2026 01:59:20 +0800 Subject: feat: add self-update command for mling Add `mling update` to fetch the latest GitHub Actions artifact for the current platform, stage it as a tarball in the data directory, and apply it on the next wrapper invocation. The wrapper extracts the staged package over the installation directory while skipping the running executable, then removes the staged file. --- mingling_cli/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'mingling_cli/src/lib.rs') diff --git a/mingling_cli/src/lib.rs b/mingling_cli/src/lib.rs index fdd7636..ae3b0e0 100644 --- a/mingling_cli/src/lib.rs +++ b/mingling_cli/src/lib.rs @@ -21,6 +21,7 @@ pub mod message; pub mod metadata; pub mod pkg_mgr; pub mod proj_mgr; +pub mod updater; pub mod utils; #[help] -- cgit