[Paths] Remove cleanOldVersions whilst unused
This commit is contained in:
parent
3585c7a1db
commit
b089e48bd7
|
@ -29,10 +29,4 @@ exports.init = () => {
|
|||
|
||||
global.moduleDataPath = moduleData; // Global because discord
|
||||
app.setPath('userData', userData); // Set userData properly because electron
|
||||
|
||||
|
||||
// cleanOldVersions
|
||||
/* 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…
Reference in New Issue