[Paths] Disable cleanOldVersions (for now)

This commit is contained in:
Ducko 2022-06-08 20:30:14 +01:00
parent 605c1b89dc
commit 3585c7a1db

View file

@ -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 });
}
} */
};