Installer tuo-pan-tu-biao-ce-shi-cheng-5-dde-dock

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

custom-name: 结束dde-dock进程,右击执行维护脚本可恢复
files:
- placeholder: https://file.winegame.net/games/common/wineinit.sh
game:
  exe: $GAMEDIR/killall-dde-dock.sh
installer:
- write_file:
    content: |-
      #!/bin/bash
      while true; do killall dde-dock; done
    file: $GAMEDIR/killall-dde-dock.sh
- write_file:
    content: |-
      #!/bin/bash
      nohup dde-dock &>/dev/null &
      dde-dock &
    file: $GAMEDIR/restart-dde-dock.sh
- chmodx: $GAMEDIR/killall-dde-dock.sh
- chmodx: $GAMEDIR/restart-dde-dock.sh
system:
  manual_command: $GAMEDIR/restart-dde-dock.sh
{
  "custom-name": "\u7ed3\u675fdde-dock\u8fdb\u7a0b\uff0c\u53f3\u51fb\u6267\u884c\u7ef4\u62a4\u811a\u672c\u53ef\u6062\u590d",
  "files": [
    {
      "placeholder": "https://file.winegame.net/games/common/wineinit.sh"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/killall-dde-dock.sh"
  },
  "installer": [
    {
      "write_file": {
        "content": "#!/bin/bash\nwhile true; do killall dde-dock; done",
        "file": "$GAMEDIR/killall-dde-dock.sh"
      }
    },
    {
      "write_file": {
        "content": "#!/bin/bash\nnohup dde-dock &>/dev/null &\ndde-dock &",
        "file": "$GAMEDIR/restart-dde-dock.sh"
      }
    },
    {
      "chmodx": "$GAMEDIR/killall-dde-dock.sh"
    },
    {
      "chmodx": "$GAMEDIR/restart-dde-dock.sh"
    }
  ],
  "system": {
    "manual_command": "$GAMEDIR/restart-dde-dock.sh"
  }
}
返回游戏