Installer kings-quest-ii-romancing-the-gog

files:
- game: N/A:Select Setup.exe
- inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
game:
  game_id: kq2
  gogid: 1207661113
  path: $GAMEDIR
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      find "$src" -maxdepth 1 -type d \( -iname app -o -iname commonappdata -o -iname
      *redist -o -iname scummvm -o -iname *support -o -iname tmp \) -exec rm -r {}  \;

      find "$src" -maxdepth 1 -type f \( -iname "goggame*" \) -exec rm {}  \;'
    file: $CACHE/remove.sh
- chmodx: $CACHE/remove.sh
- extract:
    dst: $CACHE
    file: $inno
- execute:
    args: -d "$GAMEDIR" "$game"
    file: $CACHE/innoextract
- execute:
    args: $GAMEDIR
    file: $CACHE/remove.sh
scummvm:
  fullscreen: true
description: null
game_slug: kings-quest-ii-romancing-the-throne
gogslug: kings_quest_1_2_3
humblestoreid: ''
installer_slug: kings-quest-ii-romancing-the-gog
name: 'King''s Quest II: Romancing the Throne'
notes: ''
runner: scummvm
script:
  files:
  - game: N/A:Select Setup.exe
  - inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
  game:
    game_id: kq2
    gogid: 1207661113
    path: $GAMEDIR
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        find "$src" -maxdepth 1 -type d \( -iname app -o -iname commonappdata -o -iname
        *redist -o -iname scummvm -o -iname *support -o -iname tmp \) -exec rm -r
        {}  \;

        find "$src" -maxdepth 1 -type f \( -iname "goggame*" \) -exec rm {}  \;'
      file: $CACHE/remove.sh
  - chmodx: $CACHE/remove.sh
  - extract:
      dst: $CACHE
      file: $inno
  - execute:
      args: -d "$GAMEDIR" "$game"
      file: $CACHE/innoextract
  - execute:
      args: $GAMEDIR
      file: $CACHE/remove.sh
  scummvm:
    fullscreen: true
slug: kings-quest-ii-romancing-the-gog
steamid: null
version: GOG
year: 1985
{
  "game_slug": "kings-quest-ii-romancing-the-throne",
  "version": "GOG",
  "description": null,
  "notes": "",
  "name": "King's Quest II: Romancing the Throne",
  "year": 1985,
  "steamid": null,
  "gogslug": "kings_quest_1_2_3",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "kings-quest-ii-romancing-the-gog",
  "installer_slug": "kings-quest-ii-romancing-the-gog",
  "script": {
    "files": [
      {
        "game": "N/A:Select Setup.exe"
      },
      {
        "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz"
      }
    ],
    "game": {
      "game_id": "kq2",
      "gogid": 1207661113,
      "path": "$GAMEDIR"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\nfind \"$src\" -maxdepth 1 -type d \\( -iname app -o -iname commonappdata -o -iname *redist -o -iname scummvm -o -iname *support -o -iname tmp \\) -exec rm -r {}  \\;\nfind \"$src\" -maxdepth 1 -type f \\( -iname \"goggame*\" \\) -exec rm {}  \\;",
          "file": "$CACHE/remove.sh"
        }
      },
      {
        "chmodx": "$CACHE/remove.sh"
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$inno"
        }
      },
      {
        "execute": {
          "args": "-d \"$GAMEDIR\" \"$game\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR",
          "file": "$CACHE/remove.sh"
        }
      }
    ],
    "scummvm": {
      "fullscreen": true
    }
  }
}
Back to game