mirror of
https://github.com/mrpond/BlockTheSpot.git
synced 2025-05-11 18:36:47 +02:00
chrome_elf.dll.bak -> chrome_elf_bak.dll
This commit is contained in:
parent
8db7392874
commit
e1289226a3
2 changed files with 3 additions and 3 deletions
|
@ -134,8 +134,8 @@ Downloading Latest Spotify full setup, please wait...
|
|||
Stop-Process -Name SpotifyFullSetup >$null 2>&1
|
||||
}
|
||||
|
||||
if (!(test-path $SpotifyDirectory/chrome_elf.dll.bak)){
|
||||
move $SpotifyDirectory\chrome_elf.dll $SpotifyDirectory\chrome_elf.dll.bak >$null 2>&1
|
||||
if (!(test-path $SpotifyDirectory/chrome_elf_bak.dll)){
|
||||
move $SpotifyDirectory\chrome_elf.dll $SpotifyDirectory\chrome_elf_bak.dll >$null 2>&1
|
||||
}
|
||||
|
||||
Write-Host 'Patching Spotify...'
|
||||
|
|
|
@ -12,7 +12,7 @@ void __stdcall LoadAPI (LPVOID* destination, LPCSTR apiName)
|
|||
//wchar_t windows[MAX_PATH];
|
||||
//GetSystemDirectoryW(windows, MAX_PATH);
|
||||
//wsprintf(path, L"%s\\netutils.dll", windows);
|
||||
wsprintf (path, ".\\chrome_elf.dll.bak");
|
||||
wsprintf (path, ".\\chrome_elf_bak.dll");
|
||||
HMODULE hModule = GetModuleHandle (path);
|
||||
if (!hModule && !(hModule = LoadLibrary (path)))
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue