Installer mywhoosh-microsoft-store

files:
- downloader: https://raw.githubusercontent.com/Dj0ulo/ms-store-download/main/ms_store_download.py
- shim: https://github.com/Dj0ulo/mywhoosh-linux/releases/download/$shim_release/mywhoosh-bleshim-$shim_release.tar.gz
game:
  arch: win64
  exe: drive_c/MyWhoosh/MyWhoosh.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- mkdir: $GAMEDIR/drive_c/MyWhoosh
- mkdir: $CACHE
- execute:
    args: $downloader 9ndh0f2vhzx2 --download $CACHE --extract $GAMEDIR/drive_c/MyWhoosh
      --extract-flat
    description: Downloading MyWhoosh app from Microsoft Store
    file: python3
- move:
    dst: $GAMEDIR/drive_c/MyWhoosh/MyWhoosh/Binaries/Win64/MyWhoosh-Win64-Shipping.exe
    src: $GAMEDIR/drive_c/MyWhoosh/MyWhoosh/Binaries/Win64/MyWhoosh.exe
- mkdir: $GAMEDIR/bleshim
- extract:
    dst: $GAMEDIR/bleshim
    file: shim
    format: tgz
- chmodx: $GAMEDIR/bleshim/blehelper.py
- chmodx: $GAMEDIR/bleshim/mywhoosh-ble.sh
- execute:
    args: check
    description: Checking the Bluetooth setup
    disable_runtime: true
    file: $GAMEDIR/bleshim/mywhoosh-ble.sh
system:
  env:
    MONO_PATH: Z:$GAMEDIR/bleshim
    MYWHOOSH_SHIM_LOG: $GAMEDIR/bleshim/session.log
  postexit_command: $GAMEDIR/bleshim/mywhoosh-ble.sh stop
  prelaunch_command: $GAMEDIR/bleshim/mywhoosh-ble.sh start
  prelaunch_wait: true
variables:
  shim_release: v0.1.3
wine:
  dxvk: true
description: This installer downloads the MyWhoosh MSIX package from the Microsoft
  Store, installs it on your machine and applies necessary patches.
game_slug: mywhoosh
gogslug: ''
humblestoreid: ''
installer_slug: mywhoosh-microsoft-store
name: MyWhoosh
notes: "To connect your smart trainer, heart rate monitor and other devices use the\
  \ MyWhoosh Link app since Bluetooth and ANT+ are not currently supported directly\
  \ from Wine. Here are the links to download the companion app:\r\n  - Android: https://play.google.com/store/apps/details?id=com.whoosh.companion\r\
  \n  - iOS: https://apps.apple.com/be/app/mywhoosh-link/id1561724525"
runner: wine
script:
  files:
  - downloader: https://raw.githubusercontent.com/Dj0ulo/ms-store-download/main/ms_store_download.py
  - shim: https://github.com/Dj0ulo/mywhoosh-linux/releases/download/$shim_release/mywhoosh-bleshim-$shim_release.tar.gz
  game:
    arch: win64
    exe: drive_c/MyWhoosh/MyWhoosh.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - mkdir: $GAMEDIR/drive_c/MyWhoosh
  - mkdir: $CACHE
  - execute:
      args: $downloader 9ndh0f2vhzx2 --download $CACHE --extract $GAMEDIR/drive_c/MyWhoosh
        --extract-flat
      description: Downloading MyWhoosh app from Microsoft Store
      file: python3
  - move:
      dst: $GAMEDIR/drive_c/MyWhoosh/MyWhoosh/Binaries/Win64/MyWhoosh-Win64-Shipping.exe
      src: $GAMEDIR/drive_c/MyWhoosh/MyWhoosh/Binaries/Win64/MyWhoosh.exe
  - mkdir: $GAMEDIR/bleshim
  - extract:
      dst: $GAMEDIR/bleshim
      file: shim
      format: tgz
  - chmodx: $GAMEDIR/bleshim/blehelper.py
  - chmodx: $GAMEDIR/bleshim/mywhoosh-ble.sh
  - execute:
      args: check
      description: Checking the Bluetooth setup
      disable_runtime: true
      file: $GAMEDIR/bleshim/mywhoosh-ble.sh
  system:
    env:
      MONO_PATH: Z:$GAMEDIR/bleshim
      MYWHOOSH_SHIM_LOG: $GAMEDIR/bleshim/session.log
    postexit_command: $GAMEDIR/bleshim/mywhoosh-ble.sh stop
    prelaunch_command: $GAMEDIR/bleshim/mywhoosh-ble.sh start
    prelaunch_wait: true
  variables:
    shim_release: v0.1.3
  wine:
    dxvk: true
slug: mywhoosh-microsoft-store
steamid: null
version: Microsoft Store
year: 2019
{
  "game_slug": "mywhoosh",
  "version": "Microsoft Store",
  "description": "This installer downloads the MyWhoosh MSIX package from the Microsoft Store, installs it on your machine and applies necessary patches.",
  "notes": "To connect your smart trainer, heart rate monitor and other devices use the MyWhoosh Link app since Bluetooth and ANT+ are not currently supported directly from Wine. Here are the links to download the companion app:\r\n  - Android: https://play.google.com/store/apps/details?id=com.whoosh.companion\r\n  - iOS: https://apps.apple.com/be/app/mywhoosh-link/id1561724525",
  "name": "MyWhoosh",
  "year": 2019,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "mywhoosh-microsoft-store",
  "installer_slug": "mywhoosh-microsoft-store",
  "script": {
    "files": [
      {
        "downloader": "https://raw.githubusercontent.com/Dj0ulo/ms-store-download/main/ms_store_download.py"
      },
      {
        "shim": "https://github.com/Dj0ulo/mywhoosh-linux/releases/download/$shim_release/mywhoosh-bleshim-$shim_release.tar.gz"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/MyWhoosh/MyWhoosh.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "mkdir": "$GAMEDIR/drive_c/MyWhoosh"
      },
      {
        "mkdir": "$CACHE"
      },
      {
        "execute": {
          "args": "$downloader 9ndh0f2vhzx2 --download $CACHE --extract $GAMEDIR/drive_c/MyWhoosh --extract-flat",
          "description": "Downloading MyWhoosh app from Microsoft Store",
          "file": "python3"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/MyWhoosh/MyWhoosh/Binaries/Win64/MyWhoosh-Win64-Shipping.exe",
          "src": "$GAMEDIR/drive_c/MyWhoosh/MyWhoosh/Binaries/Win64/MyWhoosh.exe"
        }
      },
      {
        "mkdir": "$GAMEDIR/bleshim"
      },
      {
        "extract": {
          "dst": "$GAMEDIR/bleshim",
          "file": "shim",
          "format": "tgz"
        }
      },
      {
        "chmodx": "$GAMEDIR/bleshim/blehelper.py"
      },
      {
        "chmodx": "$GAMEDIR/bleshim/mywhoosh-ble.sh"
      },
      {
        "execute": {
          "args": "check",
          "description": "Checking the Bluetooth setup",
          "disable_runtime": true,
          "file": "$GAMEDIR/bleshim/mywhoosh-ble.sh"
        }
      }
    ],
    "system": {
      "env": {
        "MONO_PATH": "Z:$GAMEDIR/bleshim",
        "MYWHOOSH_SHIM_LOG": "$GAMEDIR/bleshim/session.log"
      },
      "postexit_command": "$GAMEDIR/bleshim/mywhoosh-ble.sh stop",
      "prelaunch_command": "$GAMEDIR/bleshim/mywhoosh-ble.sh start",
      "prelaunch_wait": true
    },
    "variables": {
      "shim_release": "v0.1.3"
    },
    "wine": {
      "dxvk": true
    }
  }
}
Back to game