[Paths] Disable cleanOldVersions (for now)

pull/77/head
Oj 2 years ago
parent 605c1b89dc
commit 3585c7a1db

@ -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 });
}
} */
};
Loading…
Cancel
Save