Skip to content

Commit

Permalink
fix: use Mesa3D system-wide installer (#2)
Browse files Browse the repository at this point in the history
* feat: fix

* feat: fix

* final fixes
  • Loading branch information
RobPasMue authored Dec 2, 2024
1 parent b2a733a commit d6dd86a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions windows/install_opengl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ fi
NAME="mesa3d-${MESA3D_VERSION}-release-msvc"
curl -LO https://github.com/pal1000/mesa-dist-win/releases/download/${MESA3D_VERSION}/${NAME}.7z
7z x ${NAME}.7z -o./${NAME}
mv -v ${NAME}/x64/* /C/Windows/System32/
rm -Rf ${NAME}
# Run systemwidedeploy.cmd file: option 1) Install OpenGL drivers & 7) Update system-wide deployment
cmd.exe //c "${NAME}\systemwidedeploy.cmd 1"
cmd.exe //c "${NAME}\systemwidedeploy.cmd 7"
# takeown "/f" "C:\Windows\System32\opengl32.dll"
# icacls "C:\Windows\System32\opengl32.dll" /grant "$USERNAME:F"
ls -alt /C/Windows/System32/opengl32.dll

0 comments on commit d6dd86a

Please sign in to comment.