Skip to content

Commit

Permalink
[bugfix] recursively create the compatdata folder
Browse files Browse the repository at this point in the history
  • Loading branch information
silentrald committed Jan 18, 2025
1 parent 0c3a5b9 commit 773b54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/services/linux.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class LinuxService {
const compatDataPath = this.getCompatDataPath();
if (!fs.existsSync(compatDataPath)) {
log.info(`Proton compat data path not found at '${compatDataPath}', creating directory`);
fs.mkdirSync(compatDataPath);
await fs.ensureDir(compatDataPath);
}

// Setup Proton environment variables
Expand Down

0 comments on commit 773b54c

Please sign in to comment.