diff --git a/2.0/toolkit.bat b/2.0/toolkit.bat index 9c17b9d..54a4f69 100644 --- a/2.0/toolkit.bat +++ b/2.0/toolkit.bat @@ -131,14 +131,14 @@ SET /p pver=Choose a Version - cd rescources :: Add curl, example is curl --silent --output https://insert-url.here/file.exe curl --silent --output IDMan.exe https://extremememes.github.io/idm-toolkit/res/%pver%/IDMan.exe -curl --silent --output only-activate.reg https://extremememes.github.io/idm-toolkit/res/only-activate.reg +curl --silent --output patchkey.reg https://extremememes.github.io/idm-toolkit/res/patchkey.reg ren "C:\Program Files (x86)\Internet Download Manager\IDMan.exe" "IDMan.exe.bak" echo If you want to remove the patch, delete IDMan.exe and rename IDMan.exe.bak to IDMan.exe xcopy IDMan.exe "C:\Program Files (x86)\Internet Download Manager" /i /q /y -regedit only-activate.reg +regedit patchkey.reg pause del /q IDMan.exe -del /q only-activate.reg +del /q patchkey.reg cd.. goto :start @@ -153,14 +153,14 @@ echo %support% SET /p pver32=Choose a Version - cd rescources curl --silent --output IDMan.exe https://extremememes.github.io/idm-toolkit/res/%pver32%/IDMan.exe -curl --silent --output only-activate.reg https://extremememes.github.io/idm-toolkit/res/only-activate.reg +curl --silent --output patchkey.reg https://extremememes.github.io/idm-toolkit/res/patchkey.reg ren "C:\Program Files\Internet Download Manager\IDMan.exe" "IDMan.exe.bak" echo If you want to remove the patch, delete IDMan.exe and rename IDMan.exe.bak to IDMan.exe xcopy IDMan.exe "C:\Program Files\Internet Download Manager" /i /q /y -regedit only-activate.reg +regedit patchkey.reg pause del /q IDMan.exe -del /q only-activate.reg +del /q patchkey.reg cd.. goto :start @@ -214,4 +214,4 @@ TASKKILL /F /IM IEMonitor.exe goto :start :exit rmdir /s rescources -exit \ No newline at end of file +exit