浏览代码

Update build_wine.sh

Kron4ek 2 月之前
父节点
当前提交
70e26f8219
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      build_wine.sh

+ 4 - 0
build_wine.sh

@@ -228,6 +228,10 @@ elif [ "$WINE_BRANCH" = "proton" ]; then
 
 	WINE_VERSION="$(cat wine/VERSION | tail -c +14)-$(git -C wine rev-parse --short HEAD)"
 	if [[ "${PROTON_BRANCH}" == "experimental_"* ]] || [ "${PROTON_BRANCH}" = "bleeding-edge" ]; then
+ 		cd wine
+   		patch -Np1 < "${scriptdir}"/opencl.patch
+     		cd ..
+       
 		BUILD_NAME=proton-exp-"${WINE_VERSION}"
 	else
 		BUILD_NAME=proton-"${WINE_VERSION}"