Add message about the certificate popup

This commit is contained in:
Sander Declerck 2026-01-22 12:51:25 +01:00
parent 1e74b8af8f
commit f825f84faa
No known key found for this signature in database

View file

@ -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);