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/updater.rs | 1 + 1 file changed, 1 insertion(+) create mode 100644 mingling_cli/src/updater.rs (limited to 'mingling_cli/src/updater.rs') diff --git a/mingling_cli/src/updater.rs b/mingling_cli/src/updater.rs new file mode 100644 index 0000000..1c81fb3 --- /dev/null +++ b/mingling_cli/src/updater.rs @@ -0,0 +1 @@ +pub mod cmd_update; -- cgit