mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix naming of SafeChain Agent
This commit is contained in:
parent
09130c3294
commit
07aa10d869
2 changed files with 5 additions and 5 deletions
|
|
@ -40,16 +40,16 @@ export async function installOnWindows() {
|
||||||
// Wait a moment for uninstall to complete
|
// Wait a moment for uninstall to complete
|
||||||
await new Promise((resolve) => setTimeout(resolve, 2000));
|
await new Promise((resolve) => setTimeout(resolve, 2000));
|
||||||
|
|
||||||
ui.writeInformation("⚙️ Installing SafeChain Agent...");
|
ui.writeInformation("⚙️ Installing SafeChain Ultimate...");
|
||||||
await runMsiInstaller(msiPath);
|
await runMsiInstaller(msiPath);
|
||||||
|
|
||||||
ui.emptyLine();
|
ui.emptyLine();
|
||||||
ui.writeInformation("🚀 Starting SafeChain Agent service...");
|
ui.writeInformation("🚀 Starting SafeChain Ultimate service...");
|
||||||
await startService();
|
await startService();
|
||||||
|
|
||||||
ui.emptyLine();
|
ui.emptyLine();
|
||||||
ui.writeInformation(
|
ui.writeInformation(
|
||||||
"✅ SafeChain Agent installed and started successfully!",
|
"✅ SafeChain Ultimate installed and started successfully!",
|
||||||
);
|
);
|
||||||
ui.emptyLine();
|
ui.emptyLine();
|
||||||
} finally {
|
} finally {
|
||||||
|
|
@ -148,7 +148,7 @@ async function startService() {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (queryResult.status === 0 && queryResult.stdout.includes("RUNNING")) {
|
if (queryResult.status === 0 && queryResult.stdout.includes("RUNNING")) {
|
||||||
ui.writeVerbose("SafeChain Agent service is already running.");
|
ui.writeVerbose("SafeChain Ultimate service is already running.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ export async function installUltimate() {
|
||||||
await installOnWindows();
|
await installOnWindows();
|
||||||
} else {
|
} else {
|
||||||
ui.writeInformation(
|
ui.writeInformation(
|
||||||
`${operatingSystem} is not supported yet by safe-chain's ultimate version.`,
|
`${operatingSystem} is not supported yet by SafeChain's ultimate version.`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue