fix: fixed gamedir variable in lutris script

This commit is contained in:
Fhilipe Coelho 2024-04-11 22:04:55 -03:00
parent 11e095bf6b
commit 8d5550a6a8

View file

@ -12,17 +12,22 @@ export function generateYML(game: Game) {
version: 'Installer',
runner: 'wine',
script: {
game: {
prefix: '$GAMEDIR',
arch: 'win64',
working_dir: '$GAMEDIR'
},
installer: [{
task: {
name: "create_prefix",
arch: "win64",
prefix: "$GAMEDIR/prefix"
prefix: "$GAMEDIR"
}
}, {
task: {
executable: path.join(game.downloadPath, game.folderName, 'setup.exe'),
name: "wineexec",
prefix: "$GAMEDIR/prefix"
prefix: "$GAMEDIR"
}
}]
}