Skip to content

Commit

Permalink
0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpond committed Aug 19, 2019
1 parent 7964b00 commit f08c799
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# BlockTheSpot

Please do support Spotify by using premium!!!!

## Video, audio & banner adblock/skip for Spotify

**Current Version:** 0.18
**Current Version:** 0.19

**Last updated:** 19th August 2019

Expand All @@ -12,11 +14,7 @@

This dll is virus free,

if you don't trust this you can check and recompile it from source.

simply download and replace it!!

Please do support spotify by using premium!!!!
You can check and recompile it from source.

--

Expand Down
Binary file modified chrome_elf.dll
Binary file not shown.
20 changes: 13 additions & 7 deletions src/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,14 +551,20 @@ BOOL APIENTRY DllMain( HMODULE hModule,
{
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hModule);
//Addons - kill the crashpad job.
//if (wcsstr(GetCommandLine(), L"crashpad-handler"))
//ExitProcess(0);

// Only patch the main process and none of the renderers/workers
// this make hook not work on spotify 1.1.12.449.g4109e645
if (!wcsstr(GetCommandLine(), L"--type="))
CreateThread(NULL, NULL, MainThread, NULL, 0, NULL);
if (!wcsstr (GetCommandLine (), L"--type="))
switch (MessageBox (
NULL,
(LPCWSTR)L"I'll buy premium if had money!",
(LPCWSTR)L"Warning",
MB_YESNO | MB_ICONWARNING)) {
case IDYES:
CreateThread (NULL, NULL, MainThread, NULL, 0, NULL);
break;
default:
exit (0);
break;
}
break;

}
Expand Down

0 comments on commit f08c799

Please sign in to comment.