Skip to content

Commit

Permalink
Fix ScummVM installation path and ini file (#1095)
Browse files Browse the repository at this point in the history
ScummVM has changed the structure of the zip, the app is now in
a folder inside the zip. Add a pre_install step to move the contents
of this folder into the installation directory.

Also fix the persistence of the ini file, it was being created as
a folder and not a file.
  • Loading branch information
shana authored Feb 23, 2024
1 parent f32ed83 commit 60f0f1b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions bucket/scummvm.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@
"architecture": {
"32bit": {
"url": "https://downloads.scummvm.org/frs/scummvm/2.8.0/scummvm-2.8.0-win32.zip",
"hash": "b40771b90567428366153a9ca2a615d92bcf5ce972c0a6633d9e85093974a7df"
"hash": "b40771b90567428366153a9ca2a615d92bcf5ce972c0a6633d9e85093974a7df",
"extract_dir": "scummvm-2.8.0-win32"
},
"64bit": {
"url": "https://downloads.scummvm.org/frs/scummvm/2.8.0/scummvm-2.8.0-win32-x86_64.zip",
"hash": "37c977886c69bd06cfc440b3cd0719a55bc9f14aaf7fa1f9ec6aaa145487f667"
"hash": "37c977886c69bd06cfc440b3cd0719a55bc9f14aaf7fa1f9ec6aaa145487f667",
"extract_dir": "scummvm-2.8.0-win32-x86_64"
}
},
"pre_install": [
"if (!(Test-Path \"$persist_dir\\scummvm.ini\")) {",
" New-Item -Path \"$dir\" -Name \"scummvm.ini\" -ItemType \"File\" | Out-Null",
"}"
],
"shortcuts": [
[
"scummvm.exe",
Expand Down

0 comments on commit 60f0f1b

Please sign in to comment.