From 3585c7a1db293c8f97b75f53e8411942d150193e Mon Sep 17 00:00:00 2001 From: Oj Date: Wed, 8 Jun 2022 20:30:14 +0100 Subject: [PATCH] [Paths] Disable cleanOldVersions (for now) --- src/paths.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/paths.js b/src/paths.js index abc3c0b..7ec4355 100644 --- a/src/paths.js +++ b/src/paths.js @@ -32,7 +32,7 @@ exports.init = () => { // cleanOldVersions - if (installPath) for (const x of fs.readdirSync(installPath)) { + /* if (installPath) for (const x of fs.readdirSync(installPath)) { if (x.startsWith('app-') && !x.includes(buildInfo.version)) fs.rmSync(join(installPath, x), { recursive: true, force: true }); - } + } */ }; \ No newline at end of file