Installer wine-10

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

files:
- script: https://file.winegame.net/games/common/no-wine-desktop.sh
game:
  exe: no-wine-desktop.sh
  prefix: $GAMEDIR
installer:
- move:
    description: 移动脚本文件
    dst: $GAMEDIR
    src: script
- execute:
    command: chmod +x "$GAMEDIR/no-wine-desktop.sh"
    description: 添加执行权限
{
  "files": [
    {
      "script": "https://file.winegame.net/games/common/no-wine-desktop.sh"
    }
  ],
  "game": {
    "exe": "no-wine-desktop.sh",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "move": {
        "description": "\u79fb\u52a8\u811a\u672c\u6587\u4ef6",
        "dst": "$GAMEDIR",
        "src": "script"
      }
    },
    {
      "execute": {
        "command": "chmod +x \"$GAMEDIR/no-wine-desktop.sh\"",
        "description": "\u6dfb\u52a0\u6267\u884c\u6743\u9650"
      }
    }
  ]
}
返回游戏