Installer mobalytics-standard

files:
- installer: https://cdn.mobalytics.gg/apps/latest/league/win/Mobalytics-Desktop-Win-stable.exe
- mimehelper: https://gist.githubusercontent.com/aleasto/078272b34eefb01fdeb440a79d620290/raw/1a8cfe96962611b3fdc3e08eb6d09030d57d3d00/mimehelper.sh
- url-protocol-desktop: https://gist.githubusercontent.com/aleasto/000699163f1a1bd3093b45bf4087ee2b/raw/75616f235d76d5787fed442665d95d39469841d9/mobalytics.desktop
- find-lol: https://gist.githubusercontent.com/aleasto/1883d60a391e0084b7cbef2e467ae632/raw/a86d00f76b45719f266c22d3eb9eca6789bc0b6f/find-lol.sh
game:
  arch: win64
  exe: $GAMEDIR/drive_c/users/$USER/Desktop/Mobalytics Desktop.lnk
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Running app installer
    exclude_processes: Update.exe 'Mobalytics Desktop.exe' installer.exe
    executable: $installer
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    description: Configuring DLL Overrides
    key: mscoree
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    value: native
- task:
    description: Configuring DLL Overrides
    key: mscoree
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\Mobalytics\ Desktop.exe\DllOverrides
    prefix: $GAMEDIR
    value: native
- chmodx: mimehelper
- chmodx: find-lol
- copy:
    dst: $GAMEDIR
    src: mimehelper
- copy:
    dst: $GAMEDIR
    src: url-protocol-desktop
- execute:
    command: sed -i 's|##GAMEDIR##|$GAMEDIR|g' $GAMEDIR/mobalytics.desktop; desktop-file-install
      --dir ~/.local/share/applications $GAMEDIR/mobalytics.desktop
    description: Set up mobalytics:// url scheme, used for authentication response
- execute:
    description: Locating the League of Legends installation
    disable_runtime: true
    env:
      GAMEDIR: $GAMEDIR
      WINEBIN: $WINEBIN
    file: find-lol
require-binaries: zenity
wine:
  dxvk: false
description: '- Auto-import of runes and summoner spells works correctly.- Overlay
  does not work.'
game_slug: mobalytics
gogslug: ''
humblestoreid: ''
installer_slug: mobalytics-standard
name: mobalytics
notes: ''
runner: wine
script:
  files:
  - installer: https://cdn.mobalytics.gg/apps/latest/league/win/Mobalytics-Desktop-Win-stable.exe
  - mimehelper: https://gist.githubusercontent.com/aleasto/078272b34eefb01fdeb440a79d620290/raw/1a8cfe96962611b3fdc3e08eb6d09030d57d3d00/mimehelper.sh
  - url-protocol-desktop: https://gist.githubusercontent.com/aleasto/000699163f1a1bd3093b45bf4087ee2b/raw/75616f235d76d5787fed442665d95d39469841d9/mobalytics.desktop
  - find-lol: https://gist.githubusercontent.com/aleasto/1883d60a391e0084b7cbef2e467ae632/raw/a86d00f76b45719f266c22d3eb9eca6789bc0b6f/find-lol.sh
  game:
    arch: win64
    exe: $GAMEDIR/drive_c/users/$USER/Desktop/Mobalytics Desktop.lnk
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Running app installer
      exclude_processes: Update.exe 'Mobalytics Desktop.exe' installer.exe
      executable: $installer
      name: wineexec
      prefix: $GAMEDIR
  - task:
      name: winekill
      prefix: $GAMEDIR
  - task:
      description: Configuring DLL Overrides
      key: mscoree
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
      prefix: $GAMEDIR
      value: native
  - task:
      description: Configuring DLL Overrides
      key: mscoree
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\Mobalytics\ Desktop.exe\DllOverrides
      prefix: $GAMEDIR
      value: native
  - chmodx: mimehelper
  - chmodx: find-lol
  - copy:
      dst: $GAMEDIR
      src: mimehelper
  - copy:
      dst: $GAMEDIR
      src: url-protocol-desktop
  - execute:
      command: sed -i 's|##GAMEDIR##|$GAMEDIR|g' $GAMEDIR/mobalytics.desktop; desktop-file-install
        --dir ~/.local/share/applications $GAMEDIR/mobalytics.desktop
      description: Set up mobalytics:// url scheme, used for authentication response
  - execute:
      description: Locating the League of Legends installation
      disable_runtime: true
      env:
        GAMEDIR: $GAMEDIR
        WINEBIN: $WINEBIN
      file: find-lol
  require-binaries: zenity
  wine:
    dxvk: false
slug: mobalytics-standard
steamid: null
version: standard
year: null
{
  "game_slug": "mobalytics",
  "version": "standard",
  "description": "- Auto-import of runes and summoner spells works correctly.- Overlay does not work.",
  "notes": "",
  "name": "mobalytics",
  "year": null,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "mobalytics-standard",
  "installer_slug": "mobalytics-standard",
  "script": {
    "files": [
      {
        "installer": "https://cdn.mobalytics.gg/apps/latest/league/win/Mobalytics-Desktop-Win-stable.exe"
      },
      {
        "mimehelper": "https://gist.githubusercontent.com/aleasto/078272b34eefb01fdeb440a79d620290/raw/1a8cfe96962611b3fdc3e08eb6d09030d57d3d00/mimehelper.sh"
      },
      {
        "url-protocol-desktop": "https://gist.githubusercontent.com/aleasto/000699163f1a1bd3093b45bf4087ee2b/raw/75616f235d76d5787fed442665d95d39469841d9/mobalytics.desktop"
      },
      {
        "find-lol": "https://gist.githubusercontent.com/aleasto/1883d60a391e0084b7cbef2e467ae632/raw/a86d00f76b45719f266c22d3eb9eca6789bc0b6f/find-lol.sh"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "$GAMEDIR/drive_c/users/$USER/Desktop/Mobalytics Desktop.lnk",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Running app installer",
          "exclude_processes": "Update.exe 'Mobalytics Desktop.exe' installer.exe",
          "executable": "$installer",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Configuring DLL Overrides",
          "key": "mscoree",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
          "prefix": "$GAMEDIR",
          "value": "native"
        }
      },
      {
        "task": {
          "description": "Configuring DLL Overrides",
          "key": "mscoree",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\Mobalytics\\ Desktop.exe\\DllOverrides",
          "prefix": "$GAMEDIR",
          "value": "native"
        }
      },
      {
        "chmodx": "mimehelper"
      },
      {
        "chmodx": "find-lol"
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "mimehelper"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "url-protocol-desktop"
        }
      },
      {
        "execute": {
          "command": "sed -i 's|##GAMEDIR##|$GAMEDIR|g' $GAMEDIR/mobalytics.desktop; desktop-file-install --dir ~/.local/share/applications $GAMEDIR/mobalytics.desktop",
          "description": "Set up mobalytics:// url scheme, used for authentication response"
        }
      },
      {
        "execute": {
          "description": "Locating the League of Legends installation",
          "disable_runtime": true,
          "env": {
            "GAMEDIR": "$GAMEDIR",
            "WINEBIN": "$WINEBIN"
          },
          "file": "find-lol"
        }
      }
    ],
    "require-binaries": "zenity",
    "wine": {
      "dxvk": false
    }
  }
}
Back to game