[bugfix] recursively create the compatdata folder

This commit is contained in:
silentrald
2025-01-17 07:35:12 +08:00
parent 0c3a5b9e75
commit 773b54ca08
+1 -1
View File
@@ -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