Add mac os installation

This commit is contained in:
Sander Declerck 2026-01-21 09:14:44 +01:00
parent a7e21bbfe2
commit d4c496d60d
No known key found for this signature in database
2 changed files with 81 additions and 0 deletions

View file

@ -2,6 +2,7 @@ import { platform } from "os";
import { ui } from "../environment/userInteraction.js";
import { initializeCliArguments } from "../config/cliArguments.js";
import { installOnWindows } from "./installOnWindows.js";
import { installOnMacOS } from "./installOnMacOS.js";
export async function installUltimate() {
initializeCliArguments(process.argv);
@ -10,6 +11,8 @@ export async function installUltimate() {
if (operatingSystem === "win32") {
await installOnWindows();
} else if (operatingSystem === "darwin") {
await installOnMacOS();
} else {
ui.writeInformation(
`${operatingSystem} is not supported yet by SafeChain's ultimate version.`,