files:
- game: http://www.netpanzer.info/Download/NetPanzer/Releases/0.8.7/netpanzer-0.8.7-Ubuntu_x32-x64_portable.zip
game:
exe: start.sh
installer:
- extract:
description: extracting...
dst: $GAMEDIR
file: $game
format: zip
- execute:
args: -c "chmod +x $GAMEDIR/netpanzer-x*"
file: /bin/sh
terminal: true
- execute:
args: -c "printf '#!/bin/sh\ncd $GAMEDIR\nif [ \"$$(uname -m)\" = \"x86_64\" ]\nthen\n./netpanzer-x64
\"$$@\"\nelse\n./netpanzer-x32 \"$$@\"\nfi'>$GAMEDIR/start.sh"
file: /bin/sh
terminal: true
- chmodx: $GAMEDIR/start.sh
description: ''
game_slug: netpanzer
gogslug: ''
humblestoreid: ''
installer_slug: netpanzer-087-x86
name: netPanzer
notes: ''
runner: linux
script:
files:
- game: http://www.netpanzer.info/Download/NetPanzer/Releases/0.8.7/netpanzer-0.8.7-Ubuntu_x32-x64_portable.zip
game:
exe: start.sh
installer:
- extract:
description: extracting...
dst: $GAMEDIR
file: $game
format: zip
- execute:
args: -c "chmod +x $GAMEDIR/netpanzer-x*"
file: /bin/sh
terminal: true
- execute:
args: -c "printf '#!/bin/sh\ncd $GAMEDIR\nif [ \"$$(uname -m)\" = \"x86_64\"
]\nthen\n./netpanzer-x64 \"$$@\"\nelse\n./netpanzer-x32 \"$$@\"\nfi'>$GAMEDIR/start.sh"
file: /bin/sh
terminal: true
- chmodx: $GAMEDIR/start.sh
slug: netpanzer-087-x86
steamid: null
version: 0.8.7 - x86
year: null
{
"game_slug": "netpanzer",
"version": "0.8.7 - x86",
"description": "",
"notes": "",
"name": "netPanzer",
"year": null,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "linux",
"slug": "netpanzer-087-x86",
"installer_slug": "netpanzer-087-x86",
"script": {
"files": [
{
"game": "http://www.netpanzer.info/Download/NetPanzer/Releases/0.8.7/netpanzer-0.8.7-Ubuntu_x32-x64_portable.zip"
}
],
"game": {
"exe": "start.sh"
},
"installer": [
{
"extract": {
"description": "extracting...",
"dst": "$GAMEDIR",
"file": "$game",
"format": "zip"
}
},
{
"execute": {
"args": "-c \"chmod +x $GAMEDIR/netpanzer-x*\"",
"file": "/bin/sh",
"terminal": true
}
},
{
"execute": {
"args": "-c \"printf '#!/bin/sh\\ncd $GAMEDIR\\nif [ \\\"$$(uname -m)\\\" = \\\"x86_64\\\" ]\\nthen\\n./netpanzer-x64 \\\"$$@\\\"\\nelse\\n./netpanzer-x32 \\\"$$@\\\"\\nfi'>$GAMEDIR/start.sh\"",
"file": "/bin/sh",
"terminal": true
}
},
{
"chmodx": "$GAMEDIR/start.sh"
}
]
}
}