Temporarily disable cleanup

This commit is contained in:
Sander Declerck 2026-01-19 15:58:11 +01:00
parent 3c40c60a3e
commit 38888813cf
No known key found for this signature in database

View file

@ -31,7 +31,7 @@ export async function installOnWindows() {
ui.writeVerbose(`Destination: ${msiPath}`);
await downloadFile(downloadUrl, msiPath);
try {
// try {
ui.emptyLine();
await stopServiceIfRunning();
await uninstallIfInstalled();
@ -47,14 +47,13 @@ export async function installOnWindows() {
await startService();
ui.emptyLine();
ui.writeInformation(
"✅ SafeChain Agent installed and started successfully!",
);
ui.writeInformation("✅ SafeChain Agent installed and started successfully!");
ui.emptyLine();
} finally {
ui.writeVerbose(`Cleaning up temporary file: ${msiPath}`);
cleanup(msiPath);
}
// }
// finally {
// ui.writeVerbose(`Cleaning up temporary file: ${msiPath}`);
// cleanup(msiPath);
// }
}
async function isRunningAsAdmin() {