Merge branch 'main' of git.mylloon.fr:Anri/confOS
This commit is contained in:
commit
e050d31fe7
2 changed files with 28 additions and 20 deletions
|
@ -12,8 +12,7 @@ PowerShell -Command "" ^
|
||||||
"$file = 'vencord.exe';" ^
|
"$file = 'vencord.exe';" ^
|
||||||
"$outfile = Join-Path -Path $env:TEMP -ChildPath $file;" ^
|
"$outfile = Join-Path -Path $env:TEMP -ChildPath $file;" ^
|
||||||
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
||||||
"cd $env:TEMP;" ^
|
"Start-Process -NoNewWindow $outfile '-install'"
|
||||||
"ECHO 1| & $outfile -install"
|
|
||||||
|
|
||||||
IF NOT "%1"=="yes" (
|
IF NOT "%1"=="yes" (
|
||||||
:: Restart Discord
|
:: Restart Discord
|
||||||
|
|
|
@ -250,25 +250,34 @@ ECHO Setting up OpenTabletDriver...
|
||||||
XCOPY "%LOCALAPPDATA%\OpenTabletDriver\Presets\vertical-main.json" "%LOCALAPPDATA%\OpenTabletDriver\settings.json" /-I /Y
|
XCOPY "%LOCALAPPDATA%\OpenTabletDriver\Presets\vertical-main.json" "%LOCALAPPDATA%\OpenTabletDriver\settings.json" /-I /Y
|
||||||
|
|
||||||
:: Install VALORANT rank yoinker
|
:: Install VALORANT rank yoinker
|
||||||
ECHO VALORANT rank yoinker...
|
:: 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()"
|
||||||
|
:: 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"
|
||||||
|
|
||||||
|
:: Install NOWT
|
||||||
|
ECHO NOWT...
|
||||||
PowerShell -Command "" ^
|
PowerShell -Command "" ^
|
||||||
"$repo = 'zayKenyon/VALORANT-rank-yoinker';" ^
|
"$exe = 'NOWT-Installer.exe';" ^
|
||||||
"$releases = \"https://api.github.com/repos/$repo/releases\";" ^
|
"$link = 'https://github.com/pwall2222/NOWT/releases/latest/download/' + $exe;" ^
|
||||||
"$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name;" ^
|
"$file = Join-Path -Path '%TEMP%' -ChildPath $exe;" ^
|
||||||
"$file = \"VALORANT-rank-yoinker_$tag.zip\";" ^
|
"Invoke-WebRequest -Uri $link -OutFile $file;" ^
|
||||||
"$link = \"https://github.com/$repo/releases/download/$tag/$file\";" ^
|
"Start-Process $file '/SUPPRESSMSGBOXES', '/VERYSILENT'"
|
||||||
"$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()"
|
|
||||||
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"
|
|
||||||
|
|
||||||
:: Install Deceive
|
:: Install Deceive
|
||||||
ECHO Deceive...
|
ECHO Deceive...
|
||||||
|
|
Loading…
Reference in a new issue