Ian Walton 4 年之前
父节点
当前提交
bf018af184
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/workflows/main.yml

+ 1 - 0
.github/workflows/main.yml

@@ -67,6 +67,7 @@ jobs:
     - name: Install dependencies
     - name: Install dependencies
       run: |
       run: |
         ./download_webclient.sh
         ./download_webclient.sh
+        sed -i 's#Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Redist\\MSVC\\v142\\#'"$(ls -d "/c/Program Files (x86)/Microsoft Visual Studio/2019/"*"/VC/Redist/MSVC/"* | head -n 1 | sed 's#/c/##g' | tr '/' '\\' | sed 's/\\/\\\\/g')#g" bundle/win/Bundle.wxs
         curl -L https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip > ninja.zip
         curl -L https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip > ninja.zip
         unzip ninja.zip
         unzip ninja.zip
         mv ninja.exe build/
         mv ninja.exe build/