mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: fixed gamedir variable in lutris script
This commit is contained in:
parent
11e095bf6b
commit
8d5550a6a8
1 changed files with 7 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue