feat: adding wine prefix

This commit is contained in:
Chubby Granny Chaser
2024-10-19 15:48:41 +01:00
parent a498f9dd80
commit 0e5d37a3a0
26 changed files with 423 additions and 130 deletions

View File

@@ -58,4 +58,8 @@ export const restoreBackup = (backupPath: string) => {
return JSON.parse(result.toString("utf-8")) as LudusaviBackup;
};
// --wine-prefix
export const generateConfig = () => {
const result = cp.execFileSync(binaryPath, ["schema", "config"]);
return JSON.parse(result.toString("utf-8")) as LudusaviBackup;
};