add safe-chain ultimate logs

This commit is contained in:
BitterPanda 2026-01-30 14:15:00 +01:00
parent 337d914124
commit dfac510c15
2 changed files with 74 additions and 0 deletions

View file

@ -20,6 +20,7 @@ import {
installUltimate,
uninstallUltimate,
} from "../src/installation/installUltimate.js";
import { printUltimateLogs } from "../src/ultimate/printUltimateLogs.js";
/** @type {string} */
// This checks the current file's dirname in a way that's compatible with:
@ -72,6 +73,10 @@ if (tool) {
(async () => {
await uninstallUltimate();
})();
} else if (subCommand === "logs") {
(async () => {
await printUltimateLogs();
})();
} else {
(async () => {
await installUltimate();