mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add message about the certificate popup
This commit is contained in:
parent
1e74b8af8f
commit
f825f84faa
1 changed files with 12 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import { join } from "path";
|
||||||
import { ui } from "../environment/userInteraction.js";
|
import { ui } from "../environment/userInteraction.js";
|
||||||
import { printVerboseAndSafeSpawn } from "../utils/safeSpawn.js";
|
import { printVerboseAndSafeSpawn } from "../utils/safeSpawn.js";
|
||||||
import { downloadAgentToFile, getAgentVersion } from "./downloadAgent.js";
|
import { downloadAgentToFile, getAgentVersion } from "./downloadAgent.js";
|
||||||
|
import chalk from "chalk";
|
||||||
|
|
||||||
export async function installOnMacOS() {
|
export async function installOnMacOS() {
|
||||||
if (!isRunningAsRoot()) {
|
if (!isRunningAsRoot()) {
|
||||||
|
|
@ -34,6 +35,17 @@ export async function installOnMacOS() {
|
||||||
"✅ SafeChain Ultimate installed and started successfully!",
|
"✅ SafeChain Ultimate installed and started successfully!",
|
||||||
);
|
);
|
||||||
ui.emptyLine();
|
ui.emptyLine();
|
||||||
|
ui.writeInformation(
|
||||||
|
chalk.cyan("🔐 ") +
|
||||||
|
chalk.bold("ACTION REQUIRED: ") +
|
||||||
|
"macOS will show a popup to install our certificate.",
|
||||||
|
);
|
||||||
|
ui.writeInformation(
|
||||||
|
" " +
|
||||||
|
chalk.bold("Please accept the certificate") +
|
||||||
|
" to complete the installation.",
|
||||||
|
);
|
||||||
|
ui.emptyLine();
|
||||||
} finally {
|
} finally {
|
||||||
ui.writeVerbose(`Cleaning up temporary file: ${pkgPath}`);
|
ui.writeVerbose(`Cleaning up temporary file: ${pkgPath}`);
|
||||||
cleanup(pkgPath);
|
cleanup(pkgPath);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue