diff options
Diffstat (limited to 'patch.bat')
-rw-r--r-- | patch.bat | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/patch.bat b/patch.bat new file mode 100644 index 0000000..5ccd33e --- /dev/null +++ b/patch.bat @@ -0,0 +1,9 @@ +@echo off +setlocal +cd /d %~dp0 +if "%~1" == "" ( + echo Error: argument missing + pause + exit /b +) +sed "s/^ ; Custom rules$/ #IncludeAgain %%A_ScriptDir%%\\\\drm.x/" "%~1" > drm.ahk
\ No newline at end of file |