From 86db82788f2597d44e6b3af3eaa9af63bf1ab4ac Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 8 Apr 2024 17:58:47 +0200 Subject: [PATCH] remove VALORANT rank yoinker --- windows11.bat | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/windows11.bat b/windows11.bat index f57df5c..8548ab1 100644 --- a/windows11.bat +++ b/windows11.bat @@ -293,30 +293,6 @@ PowerShell -Command "" ^ "$Shortcut.Save()" -:: === VALORANT rank yoinker == -:: TODO: Replaced by NOWT - as to be removed -:: ECHO VALORANT rank yoinker... -:: PowerShell -Command "" ^ -:: "$repo = 'zayKenyon/VALORANT-rank-yoinker';" ^ -:: "$releases = \"https://api.github.com/repos/$repo/releases\";" ^ -:: "$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name;" ^ -:: "$file = \"VALORANT-rank-yoinker_$tag.zip\";" ^ -:: "$link = \"https://github.com/$repo/releases/download/$tag/$file\";" ^ -:: "$archive = 'vry.zip';" ^ -:: "$outfile = Join-Path -Path $env:TEMP -ChildPath $archive;" ^ -:: "Invoke-WebRequest -Uri $link -OutFile $outfile;" ^ -:: "cd $env:TEMP;" ^ -:: "Expand-Archive -Path $archive -DestinationPath '%LOCALAPPDATA%\VALORANT-rank-yoinker' -Force;" ^ -:: "$WshShell = New-Object -comObject WScript.Shell;" ^ -:: "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\VRY.lnk');" ^ -:: "$Shortcut.WorkingDirectory = '%LOCALAPPDATA%\VALORANT-rank-yoinker';" ^ -:: "$Shortcut.TargetPath = '%LOCALAPPDATA%\VALORANT-rank-yoinker\vry.exe';" ^ -:: "$Shortcut.Save();" ^ -:: "Remove-Item -Force $archive" -:: REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\vry" /f /v DisplayName /t REG_SZ /d "VALORANT-rank-yoinker" -:: REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\vry" /f /v InstallLocation /t REG_SZ /d "%LOCALAPPDATA%\VALORANT-rank-yoinker" - - :: === NOWT == ECHO NOWT... PowerShell -Command "" ^