Installer sloth-patrol-current-x86

files:
- game: http://www.slothpatrol.com/files/SlothPatrol.tar.gz
game:
  exe: start.sh
installer:
- extract:
    description: extracting...
    dst: $GAMEDIR
    file: $game
- chmodx: $GAMEDIR/SlothPatrol.x86
- chmodx: $GAMEDIR/SlothPatrol.x86_64
- execute:
    args: -c "printf '#!/bin/sh\ncd $GAMEDIR\nif [ \"$$(uname -m)\" = \"x86_64\" ]\nthen\n./SlothPatrol.x86_64
      \"$$@\"\nelse\n./SlothPatrol.x86 \"$$@\"\nfi'>$GAMEDIR/start.sh"
    file: /bin/sh
    terminal: false
- chmodx: $GAMEDIR/start.sh
description: ''
game_slug: sloth-patrol
gogslug: ''
humblestoreid: ''
installer_slug: sloth-patrol-current-x86
name: Sloth Patrol
notes: ''
runner: linux
script:
  files:
  - game: http://www.slothpatrol.com/files/SlothPatrol.tar.gz
  game:
    exe: start.sh
  installer:
  - extract:
      description: extracting...
      dst: $GAMEDIR
      file: $game
  - chmodx: $GAMEDIR/SlothPatrol.x86
  - chmodx: $GAMEDIR/SlothPatrol.x86_64
  - execute:
      args: -c "printf '#!/bin/sh\ncd $GAMEDIR\nif [ \"$$(uname -m)\" = \"x86_64\"
        ]\nthen\n./SlothPatrol.x86_64 \"$$@\"\nelse\n./SlothPatrol.x86 \"$$@\"\nfi'>$GAMEDIR/start.sh"
      file: /bin/sh
      terminal: false
  - chmodx: $GAMEDIR/start.sh
slug: sloth-patrol-current-x86
steamid: null
version: Current - x86
year: null
{
  "game_slug": "sloth-patrol",
  "version": "Current - x86",
  "description": "",
  "notes": "",
  "name": "Sloth Patrol",
  "year": null,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "sloth-patrol-current-x86",
  "installer_slug": "sloth-patrol-current-x86",
  "script": {
    "files": [
      {
        "game": "http://www.slothpatrol.com/files/SlothPatrol.tar.gz"
      }
    ],
    "game": {
      "exe": "start.sh"
    },
    "installer": [
      {
        "extract": {
          "description": "extracting...",
          "dst": "$GAMEDIR",
          "file": "$game"
        }
      },
      {
        "chmodx": "$GAMEDIR/SlothPatrol.x86"
      },
      {
        "chmodx": "$GAMEDIR/SlothPatrol.x86_64"
      },
      {
        "execute": {
          "args": "-c \"printf '#!/bin/sh\\ncd $GAMEDIR\\nif [ \\\"$$(uname -m)\\\" = \\\"x86_64\\\" ]\\nthen\\n./SlothPatrol.x86_64 \\\"$$@\\\"\\nelse\\n./SlothPatrol.x86 \\\"$$@\\\"\\nfi'>$GAMEDIR/start.sh\"",
          "file": "/bin/sh",
          "terminal": false
        }
      },
      {
        "chmodx": "$GAMEDIR/start.sh"
      }
    ]
  }
}
Back to game