[Paths] Disable cleanOldVersions (for now)
This commit is contained in:
parent
605c1b89dc
commit
3585c7a1db
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ exports.init = () => {
|
||||||
|
|
||||||
|
|
||||||
// cleanOldVersions
|
// 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 });
|
if (x.startsWith('app-') && !x.includes(buildInfo.version)) fs.rmSync(join(installPath, x), { recursive: true, force: true });
|
||||||
}
|
} */
|
||||||
};
|
};
|
Loading…
Add table
Add a link
Reference in a new issue