diff options
author | John Ankarström <john@ankarstrom.se> | 2020-10-23 01:29:57 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-10-23 01:29:57 +0200 |
commit | eecc489a5576401219e90e7ba4bf690951c6d452 (patch) | |
tree | 6dafb5b81b3ca82750f49315f9f9de7dedc5e0cf | |
parent | 367c886b56654f0296b0ab82b6231565488a9594 (diff) | |
download | drm-eecc489a5576401219e90e7ba4bf690951c6d452.tar.gz |
customize 1.4.3
-rw-r--r-- | CHANGELOG.txt | 4 | ||||
-rw-r--r-- | drm.ahk | 2 | ||||
-rw-r--r-- | drm.exe | bin | 836608 -> 0 bytes | |||
-rw-r--r-- | drm.x | 4 | ||||
-rw-r--r-- | patch.bat | 9 |
5 files changed, 14 insertions, 5 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt deleted file mode 100644 index 38f43a2..0000000 --- a/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -CHANGELOG ---------------------- 1.4.3 --------------------- 2020-05-08 - -NEW: Now just uses the icon directly from shell32.dll instead of embed- - ding the same in the script.
\ No newline at end of file @@ -193,7 +193,7 @@ Save(ByRef Positions) if (style & 0x40000 = 0) ; WS_SIZEBOX DoIgnoreSize := true - ; Custom rules + #IncludeAgain %A_ScriptDir%\drm.x ; Example: ; if (exe = "mpc-hc.exe" and cw = 294) diff --git a/drm.exe b/drm.exe Binary files differdeleted file mode 100644 index 0165ba3..0000000 --- a/drm.exe +++ /dev/null @@ -0,0 +1,4 @@ +if (exe = "mpc-hc.exe" and (cw = 294 or cw = 304 or cw = 307)) +{ + DoIgnoreSize := true +}
\ No newline at end of file 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 |