Installer magic-the-gathering-online-latest

files:
- setup:
    filename: setup.exe
    url: https://mtgo.patch.daybreakgames.com/patch/mtg/live/client/setup.exe
game:
  exe: $GAMEDIR/drive_c/MTGO/setup.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Simulating Windows reboot.
    executable: wineboot
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: sound=pulse
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: corefonts
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: dotnet48
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: win7
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    args: -s
    description: Simulating Windows reboot.
    executable: wineboot
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    exclude_processes: dfsvc.exe
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: find $GAMEDIR/drive_c/ -name 'MTGO.exe' -exec sh -c 'ln -vs "$(dirname
      "$0")" "$1" | cut -c 2-' {} $GAMEDIR/drive_c/MTGO \;
- merge:
    dst: $GAMEDIR/drive_c/MTGO
    src: setup
system:
  single_cpu: true
description: ''
game_slug: magic-the-gathering-online
gogslug: ''
humblestoreid: ''
installer_slug: magic-the-gathering-online-latest
name: Magic The Gathering Online
notes: ''
runner: wine
script:
  files:
  - setup:
      filename: setup.exe
      url: https://mtgo.patch.daybreakgames.com/patch/mtg/live/client/setup.exe
  game:
    exe: $GAMEDIR/drive_c/MTGO/setup.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: Simulating Windows reboot.
      executable: wineboot
      name: wineexec
      prefix: $GAMEDIR
  - task:
      app: sound=pulse
      arch: win64
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: corefonts
      arch: win64
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: dotnet48
      arch: win64
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: win7
      arch: win64
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win64
      args: -s
      description: Simulating Windows reboot.
      executable: wineboot
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      exclude_processes: dfsvc.exe
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: find $GAMEDIR/drive_c/ -name 'MTGO.exe' -exec sh -c 'ln -vs "$(dirname
        "$0")" "$1" | cut -c 2-' {} $GAMEDIR/drive_c/MTGO \;
  - merge:
      dst: $GAMEDIR/drive_c/MTGO
      src: setup
  system:
    single_cpu: true
slug: magic-the-gathering-online-latest
steamid: null
version: LATEST
year: 2002
{
  "game_slug": "magic-the-gathering-online",
  "version": "LATEST",
  "description": "",
  "notes": "",
  "name": "Magic The Gathering Online",
  "year": 2002,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "magic-the-gathering-online-latest",
  "installer_slug": "magic-the-gathering-online-latest",
  "script": {
    "files": [
      {
        "setup": {
          "filename": "setup.exe",
          "url": "https://mtgo.patch.daybreakgames.com/patch/mtg/live/client/setup.exe"
        }
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/MTGO/setup.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Simulating Windows reboot.",
          "executable": "wineboot",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "sound=pulse",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "corefonts",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "dotnet48",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win7",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "-s",
          "description": "Simulating Windows reboot.",
          "executable": "wineboot",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "exclude_processes": "dfsvc.exe",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "find $GAMEDIR/drive_c/ -name 'MTGO.exe' -exec sh -c 'ln -vs \"$(dirname \"$0\")\" \"$1\" | cut -c 2-' {} $GAMEDIR/drive_c/MTGO \\;"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/MTGO",
          "src": "setup"
        }
      }
    ],
    "system": {
      "single_cpu": true
    }
  }
}
Back to game