Skip to content

Commit

Permalink
comment out rmSync
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Jul 9, 2024
1 parent 15a0480 commit ce540e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/filesystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ export class LauncherFileSystem {
console.log('before keep logs.');
if (keepLogs) throw new Error('Keeping logs across factory reset is currently not supported.');
console.log('after keep logs but before removing all data.');
fs.rmSync(this.profileDataDir, { recursive: true });
console.log('all data removed.');
// fs.rmSync(this.profileDataDir, { recursive: true });
console.log('No data removed, rmSync skipped.');
}
}

Expand Down

0 comments on commit ce540e3

Please sign in to comment.