mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add mac os installation
This commit is contained in:
parent
a7e21bbfe2
commit
d4c496d60d
2 changed files with 81 additions and 0 deletions
|
|
@ -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.`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue