Installer leather-goddesses-of-phobos-2-ms-dos

files:
- game: N/A:Select the file LGOP2.DAT
game:
  game_id: lgop2
  path: $GAMEDIR
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

      find "$src_path" -type f \( -iname "LGOP2.DAT" -o -iname "LGOP2.PRJ" \) -exec
      cp {} "$dst" \;'
    file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- execute:
    args: $game $GAMEDIR
    file: $CACHE/selectcopy.sh
description: null
game_slug: leather-goddesses-of-phobos-2-gas-pump-girls-meet-
gogslug: ''
humblestoreid: ''
installer_slug: leather-goddesses-of-phobos-2-ms-dos
name: Leather Goddesses of Phobos! 2
notes: ''
runner: scummvm
script:
  files:
  - game: N/A:Select the file LGOP2.DAT
  game:
    game_id: lgop2
    path: $GAMEDIR
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

        find "$src_path" -type f \( -iname "LGOP2.DAT" -o -iname "LGOP2.PRJ" \) -exec
        cp {} "$dst" \;'
      file: $CACHE/selectcopy.sh
  - chmodx: $CACHE/selectcopy.sh
  - execute:
      args: $game $GAMEDIR
      file: $CACHE/selectcopy.sh
slug: leather-goddesses-of-phobos-2-ms-dos
steamid: null
version: MS-DOS
year: 1992
{
  "game_slug": "leather-goddesses-of-phobos-2-gas-pump-girls-meet-",
  "version": "MS-DOS",
  "description": null,
  "notes": "",
  "name": "Leather Goddesses of Phobos! 2",
  "year": 1992,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "leather-goddesses-of-phobos-2-ms-dos",
  "installer_slug": "leather-goddesses-of-phobos-2-ms-dos",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file LGOP2.DAT"
      }
    ],
    "game": {
      "game_id": "lgop2",
      "path": "$GAMEDIR"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\nfind \"$src_path\" -type f \\( -iname \"LGOP2.DAT\" -o -iname \"LGOP2.PRJ\" \\) -exec cp {} \"$dst\" \\;",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/selectcopy.sh"
      },
      {
        "execute": {
          "args": "$game $GAMEDIR",
          "file": "$CACHE/selectcopy.sh"
        }
      }
    ]
  }
}
Back to game