add collapse support

This commit is contained in:
Mylloon 2024-04-08 18:17:17 +02:00
parent 54f9dd5125
commit 588d4307fd
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -381,6 +381,20 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/WindowsAutoNightMode/
:: :: Allow system to go in sleep mode when OBS is running
:: powercfg -requestsoverride process obs64.exe display system awaymode
:: === miHoYo Games launcher ==
ECHO Collapse...
PowerShell -Command "" ^
"$repo = 'CollapseLauncher/Collapse';" ^
"$releases = \"https://api.github.com/repos/$repo/releases/latest\";" ^
"$link = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].assets.browser_download_url[0];" ^
"$exe = 'collapse-installer.exe';" ^
"$outFile = Join-Path -Path $env:TEMP -ChildPath $exe;" ^
"Invoke-WebRequest -Uri $link -OutFile $outFile;" ^
"Start-Process -Wait $outFile '/SUPPRESSMSGBOXES', '/VERYSILENT';" ^
"Remove-Item -Force $outFile"
:: === DaVinci Resolve ==
ECHO Lien utile pour télécharger la dernière version de DaVinci Resolve :
ECHO https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion