Installer gods-unchained-0142-autoupdate

files:
- installer: https://downloads.immutable.com/Gods%20Unchained%20Setup%200.14.2.exe
game:
  arch: win64
  exe: drive_c/gu.bat
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating win64 prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: echo "%USERPROFILE%\AppData\Local\immutable-launcher-updater\installer.exe"
      > $GAMEDIR/drive_c/gu.bat
description: Downloads version 0.14.2 of the immutable installer and installs it.
  The program should update automatically, see technical notes if it doesn't.Weird
  issues:- The first login can take multiple attempts without any indication of progress-
  New card packs and levels are not always shown instantly. Nothing was lost, though.
  May be an issue of Gods Unchained rather than wine / this install script, though.-
  After installation, the client wants to immediately update. Maybe that's expected
  as well.
game_slug: gods-unchained
gogslug: ''
humblestoreid: ''
installer_slug: gods-unchained-0142-autoupdate
name: Gods Unchained
notes: "Go to https://downloads.immutable.com/ to find all available versions. Just\
  \ add the key to after the url (as the file name) and remember to url encode it\
  \ (i.e. replace spaces by %20).\r\n\r\nCurrently a .bat file (gu.bat) is used to\
  \ resolve the installation directory because it is inside the user profile. If there\
  \ is a better way to do this feel free to update the installer."
runner: wine
script:
  files:
  - installer: https://downloads.immutable.com/Gods%20Unchained%20Setup%200.14.2.exe
  game:
    arch: win64
    exe: drive_c/gu.bat
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating win64 prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      arch: win64
      executable: installer
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: echo "%USERPROFILE%\AppData\Local\immutable-launcher-updater\installer.exe"
        > $GAMEDIR/drive_c/gu.bat
slug: gods-unchained-0142-autoupdate
steamid: null
version: 0.14.2 (autoupdate)
year: 2019
{
  "game_slug": "gods-unchained",
  "version": "0.14.2 (autoupdate)",
  "description": "Downloads version 0.14.2 of the immutable installer and installs it. The program should update automatically, see technical notes if it doesn't.Weird issues:- The first login can take multiple attempts without any indication of progress- New card packs and levels are not always shown instantly. Nothing was lost, though. May be an issue of Gods Unchained rather than wine / this install script, though.- After installation, the client wants to immediately update. Maybe that's expected as well.",
  "notes": "Go to https://downloads.immutable.com/ to find all available versions. Just add the key to after the url (as the file name) and remember to url encode it (i.e. replace spaces by %20).\r\n\r\nCurrently a .bat file (gu.bat) is used to resolve the installation directory because it is inside the user profile. If there is a better way to do this feel free to update the installer.",
  "name": "Gods Unchained",
  "year": 2019,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "gods-unchained-0142-autoupdate",
  "installer_slug": "gods-unchained-0142-autoupdate",
  "script": {
    "files": [
      {
        "installer": "https://downloads.immutable.com/Gods%20Unchained%20Setup%200.14.2.exe"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/gu.bat",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating win64 prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "executable": "installer",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "echo \"%USERPROFILE%\\AppData\\Local\\immutable-launcher-updater\\installer.exe\" > $GAMEDIR/drive_c/gu.bat"
        }
      }
    ]
  }
}
Back to game