Installer gods-unchained-0157-autoupdate

files:
- installer: https://downloads.godsunchained.com/Gods+Unchained+Setup+0.15.7.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:
    description: Installing "Gods Unchained"...
    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.15.7 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-0157-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.godsunchained.com/Gods+Unchained+Setup+0.15.7.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:
      description: Installing "Gods Unchained"...
      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-0157-autoupdate
steamid: null
version: 0.15.7 (autoupdate)
year: 2019
{
  "game_slug": "gods-unchained",
  "version": "0.15.7 (autoupdate)",
  "description": "Downloads version 0.15.7 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-0157-autoupdate",
  "installer_slug": "gods-unchained-0157-autoupdate",
  "script": {
    "files": [
      {
        "installer": "https://downloads.godsunchained.com/Gods+Unchained+Setup+0.15.7.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": {
          "description": "Installing \"Gods Unchained\"...",
          "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