taskkill /f /im OverwolfUpdater.exe /t
taskkill /f /im OverwolfStore.exe /t
taskkill /f /im Overwolf.exe /t
taskkill /f /im OverwolfHelper.exe /t
taskkill /f /im OverwolfHelper64.exe /t
taskkill /f /im OverwolfBrowser.exe /t
taskkill /f /im OverwolfLauncher.exe /t

rmdir "%LocalAppData%\Overwolf" /S /Q
rmdir "%ProgramData%\Overwolf" /S /Q
rmdir "%ProgramFiles(x86)%\Common Files\Overwolf" /S /Q

mklink /J "%LocalAppData%\Overwolf" "%~dp0ICafeCloud\LocalAppData"
mklink /J "%ProgramData%\Overwolf" "%~dp0ICafeCloud\ProgramData"
mklink /J "%ProgramFiles(x86)%\Common Files\Overwolf" "%~dp0ICafeCloud\ProgramFiles(x86)\Common Files"

Reg.exe add "HKLM\SOFTWARE\WOW6432Node\Overwolf" /v "InstallFolder" /t REG_SZ /d "%~dp0\" /f
