Installer dingtalk-4

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

files:
- setup: https://dtapp-pub.dingtalk.com/dingtalk-desktop/win_installer/Release/DingTalk_v6.0.0.11902.exe
- riched20: https://file.winegame.net/games/dingtalk/riched20.dll
- wineinit: https://file.winegame.net/games/common/wineinit.sh
game:
  arch: win32
  exe: drive_c/Program Files/DingDing/DingtalkLauncher.exe
  prefix: $GAMEDIR
installer:
- execute:
    command: bash "$wineinit" win32 6.0
    description: 下载字体和运行库
- task:
    arch: win32
    description: 创建32位Wine前缀
    name: create_prefix
    prefix: $GAMEDIR
- move:
    dst: $GAMEDIR/drive_c/windows/system32/riched20.dll
    src: riched20
- execute:
    command: rm -f "$GAMEDIR/dosdevices/m::"; ln -sf "$HOME" "$GAMEDIR/dosdevices/m:"
    description: 添加主目录($HOME)为M盘
- task:
    arch: win32
    description: |-
      钉钉安装程序即将打开。
      ------------------------------
      请在安装程序中完成钉钉安装。
      注意,一定要安装到默认路径,不要安装到任何其他位置,否则程序会认为安装失败!
      不必登录客户端,安装完成后关闭安装程序即可。
    exclude_processes: CrashDumper.exe DingTalk.exe DingTalkCheck.exe DingTalkSupportTool.exe
      DingtalkCleaner.exe CrashDumper.exe tblive.exe ffmpeg-mux32.exe get-graphics-offsets32.exe
      inject-helper32.exe DingTalkUpdater.exe DingtalkElevate.exe DingtalkLauncher.exe
      DingtalkScheme.exe uninst.exe
    executable: setup
    name: wineexec
    overrides:
      winedbg.exe: disabled
- task:
    name: winekill
    prefix: $GAMEDIR
wine:
  dxvk: false
  esync: false
  version: deepin-wine-6.0.0.19-1-x86_64
  vkd3d: false
{
  "files": [
    {
      "setup": "https://dtapp-pub.dingtalk.com/dingtalk-desktop/win_installer/Release/DingTalk_v6.0.0.11902.exe"
    },
    {
      "riched20": "https://file.winegame.net/games/dingtalk/riched20.dll"
    },
    {
      "wineinit": "https://file.winegame.net/games/common/wineinit.sh"
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "drive_c/Program Files/DingDing/DingtalkLauncher.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "execute": {
        "command": "bash \"$wineinit\" win32 6.0",
        "description": "\u4e0b\u8f7d\u5b57\u4f53\u548c\u8fd0\u884c\u5e93"
      }
    },
    {
      "task": {
        "arch": "win32",
        "description": "\u521b\u5efa32\u4f4dWine\u524d\u7f00",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/drive_c/windows/system32/riched20.dll",
        "src": "riched20"
      }
    },
    {
      "execute": {
        "command": "rm -f \"$GAMEDIR/dosdevices/m::\"; ln -sf \"$HOME\" \"$GAMEDIR/dosdevices/m:\"",
        "description": "\u6dfb\u52a0\u4e3b\u76ee\u5f55($HOME)\u4e3aM\u76d8"
      }
    },
    {
      "task": {
        "arch": "win32",
        "description": "\u9489\u9489\u5b89\u88c5\u7a0b\u5e8f\u5373\u5c06\u6253\u5f00\u3002\n------------------------------\n\u8bf7\u5728\u5b89\u88c5\u7a0b\u5e8f\u4e2d\u5b8c\u6210\u9489\u9489\u5b89\u88c5\u3002\n\u6ce8\u610f\uff0c\u4e00\u5b9a\u8981\u5b89\u88c5\u5230\u9ed8\u8ba4\u8def\u5f84\uff0c\u4e0d\u8981\u5b89\u88c5\u5230\u4efb\u4f55\u5176\u4ed6\u4f4d\u7f6e\uff0c\u5426\u5219\u7a0b\u5e8f\u4f1a\u8ba4\u4e3a\u5b89\u88c5\u5931\u8d25\uff01\n\u4e0d\u5fc5\u767b\u5f55\u5ba2\u6237\u7aef\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u5173\u95ed\u5b89\u88c5\u7a0b\u5e8f\u5373\u53ef\u3002",
        "exclude_processes": "CrashDumper.exe DingTalk.exe DingTalkCheck.exe DingTalkSupportTool.exe DingtalkCleaner.exe CrashDumper.exe tblive.exe ffmpeg-mux32.exe get-graphics-offsets32.exe inject-helper32.exe DingTalkUpdater.exe DingtalkElevate.exe DingtalkLauncher.exe DingtalkScheme.exe uninst.exe",
        "executable": "setup",
        "name": "wineexec",
        "overrides": {
          "winedbg.exe": "disabled"
        }
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "wine": {
    "dxvk": false,
    "esync": false,
    "version": "deepin-wine-6.0.0.19-1-x86_64",
    "vkd3d": false
  }
}
返回游戏