Installer osu-opsu

该脚本仅供阅读,不能直接用来在Wine游戏助手中安装游戏。
要通过命令安装游戏,请下载完整脚本
安装命令:/opt/apps/net.winegame.client/files/bin/winegame -i ./xxx.json

files:
- opsu: https://github.com/itdelatrisu/opsu/releases/download/0.16.1/opsu-0.16.1.jar
- jre: https://lutris.net/files/runners/jre-8u73-linux-x64.tar.gz
game:
  args: -jar "$GAMEDIR/opsu-0.16.1.jar"
  exe: $GAMEDIR/bin/java
installer:
- merge:
    dst: $GAMEDIR
    src: $opsu
- extract:
    file: jre
{
  "files": [
    {
      "opsu": "https://github.com/itdelatrisu/opsu/releases/download/0.16.1/opsu-0.16.1.jar"
    },
    {
      "jre": "https://lutris.net/files/runners/jre-8u73-linux-x64.tar.gz"
    }
  ],
  "game": {
    "args": "-jar \"$GAMEDIR/opsu-0.16.1.jar\"",
    "exe": "$GAMEDIR/bin/java"
  },
  "installer": [
    {
      "merge": {
        "dst": "$GAMEDIR",
        "src": "$opsu"
      }
    },
    {
      "extract": {
        "file": "jre"
      }
    }
  ]
}
返回游戏