[Paths] Remove cleanOldVersions whilst unused
This commit is contained in:
		
							parent
							
								
									3585c7a1db
								
							
						
					
					
						commit
						b089e48bd7
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue