mirror of
https://github.com/keylase/nvidia-patch.git
synced 2026-11-29 09:11:32 +00:00
- Add Patch.ps1, which relaunches itself elevated, renames NvFBC64.dll and NvFBC.dll to the NvFBC64_.dll and NvFBC_.dll backups, and copies nvfbcwrp64.dll and nvfbcwrp32.dll into System32 and SysWOW64. - Grant Administrators ownership and FullControl on each genuine DLL before moving it, and roll back the moves already done when a wrapper is missing or a later step throws. - Add RunPatch.bat, which requires Patch.ps1 next to itself and starts it with a per-process ExecutionPolicy Bypass. - Document the scripts in win/nvfbcwrp/README.md and normalize headings, link syntax and blank lines in win/README.md. - Target: win/nvfbcwrp
13 lines
229 B
Batchfile
13 lines
229 B
Batchfile
@echo off
|
|
%~d0
|
|
cd "%~dp0"
|
|
if not exist Patch.ps1 (
|
|
echo "Patch.ps1" is not found.
|
|
echo Press any key to exit
|
|
pause>nul
|
|
exit 1
|
|
) else (
|
|
start powershell.exe -ExecutionPolicy Bypass -File .\Patch.ps1
|
|
exit
|
|
)
|