Skip to content

Commit

Permalink
Update toolkit.bat
Browse files Browse the repository at this point in the history
update for the new `patchkey.reg` key
  • Loading branch information
ExtremeMemes authored Apr 23, 2022
1 parent 283643d commit 371fae5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions 2.0/toolkit.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -214,4 +214,4 @@ TASKKILL /F /IM IEMonitor.exe
goto :start
:exit
rmdir /s rescources
exit
exit

0 comments on commit 371fae5

Please sign in to comment.