mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-23 02:41:02 +00:00
fix: adding wine prefix to preview
This commit is contained in:
@@ -52,12 +52,13 @@ export class Ludusavi {
|
||||
|
||||
static async getBackupPreview(
|
||||
_shop: GameShop,
|
||||
objectId: string
|
||||
objectId: string,
|
||||
winePrefix?: string | null
|
||||
): Promise<LudusaviBackup | null> {
|
||||
const config = await this.getConfig();
|
||||
|
||||
const backupData = await this.worker.run(
|
||||
{ title: objectId, preview: true },
|
||||
{ title: objectId, winePrefix, preview: true },
|
||||
{ name: "backupGame" }
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user