files:
- game: N/A:Select the game file
game:
game_id: hires5
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
find "$src_path" -type f \( -iname "TZONE*.*" \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- execute:
args: $game $GAMEDIR
file: $CACHE/selectcopy.sh
description: null
game_slug: hi-res-adventure-5-time-zone
gogslug: ''
humblestoreid: ''
installer_slug: hi-res-adventure-5-time-zone-apple
name: 'Hi-Res Adventure #5: Time Zone'
notes: ''
runner: scummvm
script:
files:
- game: N/A:Select the game file
game:
game_id: hires5
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
find "$src_path" -type f \( -iname "TZONE*.*" \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- execute:
args: $game $GAMEDIR
file: $CACHE/selectcopy.sh
slug: hi-res-adventure-5-time-zone-apple
steamid: null
version: Apple
year: 1982
{
"game_slug": "hi-res-adventure-5-time-zone",
"version": "Apple",
"description": null,
"notes": "",
"name": "Hi-Res Adventure #5: Time Zone",
"year": 1982,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "scummvm",
"slug": "hi-res-adventure-5-time-zone-apple",
"installer_slug": "hi-res-adventure-5-time-zone-apple",
"script": {
"files": [
{
"game": "N/A:Select the game file"
}
],
"game": {
"game_id": "hires5",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\nfind \"$src_path\" -type f \\( -iname \"TZONE*.*\" \\) -exec cp {} \"$dst\" \\;",
"file": "$CACHE/selectcopy.sh"
}
},
{
"chmodx": "$CACHE/selectcopy.sh"
},
{
"execute": {
"args": "$game $GAMEDIR",
"file": "$CACHE/selectcopy.sh"
}
}
]
}
}