files:
- game: N/A:Select a file with the extension *.lfl
game:
game_id: loom
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
cp -avr "$src_path/." "$dst"'
file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- execute:
args: $game $GAMEDIR
file: $CACHE/bulkcopy.sh
description: null
game_slug: loom
gogslug: loom
humblestoreid: ''
installer_slug: loom-ms-dos
name: Loom
notes: ''
runner: scummvm
script:
files:
- game: N/A:Select a file with the extension *.lfl
game:
game_id: loom
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
cp -avr "$src_path/." "$dst"'
file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- execute:
args: $game $GAMEDIR
file: $CACHE/bulkcopy.sh
slug: loom-ms-dos
steamid: 32340
version: MS-DOS
year: 1990
{
"game_slug": "loom",
"version": "MS-DOS",
"description": null,
"notes": "",
"name": "Loom",
"year": 1990,
"steamid": 32340,
"gogslug": "loom",
"humblestoreid": "",
"runner": "scummvm",
"slug": "loom-ms-dos",
"installer_slug": "loom-ms-dos",
"script": {
"files": [
{
"game": "N/A:Select a file with the extension *.lfl"
}
],
"game": {
"game_id": "loom",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\ncp -avr \"$src_path/.\" \"$dst\"",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"chmodx": "$CACHE/bulkcopy.sh"
},
{
"execute": {
"args": "$game $GAMEDIR",
"file": "$CACHE/bulkcopy.sh"
}
}
]
}
}