Installer asdivine-hearts-humble-bundle

files:
- humblegame: N/A:Select the installer from Humble Bundle
game:
  exe: $GAMEDIR/play_asdh_s.sh
  working_dir: $GAMEDIR
installer:
- extract:
    dst: $GAMEDIR
    file: humblegame
- write_file:
    content: "#!/bin/sh\n# Works around a Unity 5.3 Linux bug: the \"Force Single\
      \ Instance\" check scans\n# /proc and can false-positive against unrelated running\
      \ processes, causing\n# an immediate silent exit (\"Player is already running\"\
      \ in Player.log).\n# Isolating the PID namespace hides other processes from\
      \ that check.\ncd \"$(dirname \"$0\")\"\nif [ \"$(uname -m)\" = \"x86_64\" ];\
      \ then\n    exec unshare -Ufpc --mount-proc -- ./asdh_s.x86_64 \"$@\"\nelse\n\
      \    exec unshare -Ufpc --mount-proc -- ./asdh_s.x86 \"$@\"\nfi\n"
    file: $GAMEDIR/play_asdh_s.sh
- chmodx: $GAMEDIR/play_asdh_s.sh
- chmodx: $GAMEDIR/asdh_s.x86_64
- chmodx: $GAMEDIR/asdh_s.x86
description: ''
game_slug: asdivine-hearts
gogslug: asdivine_hearts
humblestoreid: asdivinehearts
installer_slug: asdivine-hearts-humble-bundle
name: Asdivine Hearts
notes: Native Linux version
runner: linux
script:
  files:
  - humblegame: N/A:Select the installer from Humble Bundle
  game:
    exe: $GAMEDIR/play_asdh_s.sh
    working_dir: $GAMEDIR
  installer:
  - extract:
      dst: $GAMEDIR
      file: humblegame
  - write_file:
      content: "#!/bin/sh\n# Works around a Unity 5.3 Linux bug: the \"Force Single\
        \ Instance\" check scans\n# /proc and can false-positive against unrelated\
        \ running processes, causing\n# an immediate silent exit (\"Player is already\
        \ running\" in Player.log).\n# Isolating the PID namespace hides other processes\
        \ from that check.\ncd \"$(dirname \"$0\")\"\nif [ \"$(uname -m)\" = \"x86_64\"\
        \ ]; then\n    exec unshare -Ufpc --mount-proc -- ./asdh_s.x86_64 \"$@\"\n\
        else\n    exec unshare -Ufpc --mount-proc -- ./asdh_s.x86 \"$@\"\nfi\n"
      file: $GAMEDIR/play_asdh_s.sh
  - chmodx: $GAMEDIR/play_asdh_s.sh
  - chmodx: $GAMEDIR/asdh_s.x86_64
  - chmodx: $GAMEDIR/asdh_s.x86
slug: asdivine-hearts-humble-bundle
steamid: 406110
version: Humble Bundle
year: 2016
{
  "game_slug": "asdivine-hearts",
  "version": "Humble Bundle",
  "description": "",
  "notes": "Native Linux version",
  "name": "Asdivine Hearts",
  "year": 2016,
  "steamid": 406110,
  "gogslug": "asdivine_hearts",
  "humblestoreid": "asdivinehearts",
  "runner": "linux",
  "slug": "asdivine-hearts-humble-bundle",
  "installer_slug": "asdivine-hearts-humble-bundle",
  "script": {
    "files": [
      {
        "humblegame": "N/A:Select the installer from Humble Bundle"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/play_asdh_s.sh",
      "working_dir": "$GAMEDIR"
    },
    "installer": [
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "humblegame"
        }
      },
      {
        "write_file": {
          "content": "#!/bin/sh\n# Works around a Unity 5.3 Linux bug: the \"Force Single Instance\" check scans\n# /proc and can false-positive against unrelated running processes, causing\n# an immediate silent exit (\"Player is already running\" in Player.log).\n# Isolating the PID namespace hides other processes from that check.\ncd \"$(dirname \"$0\")\"\nif [ \"$(uname -m)\" = \"x86_64\" ]; then\n    exec unshare -Ufpc --mount-proc -- ./asdh_s.x86_64 \"$@\"\nelse\n    exec unshare -Ufpc --mount-proc -- ./asdh_s.x86 \"$@\"\nfi\n",
          "file": "$GAMEDIR/play_asdh_s.sh"
        }
      },
      {
        "chmodx": "$GAMEDIR/play_asdh_s.sh"
      },
      {
        "chmodx": "$GAMEDIR/asdh_s.x86_64"
      },
      {
        "chmodx": "$GAMEDIR/asdh_s.x86"
      }
    ]
  }
}
Back to game