Add FiveM
This commit is contained in:
parent
dfa5a386af
commit
dbb260eb3e
1 changed files with 16 additions and 0 deletions
|
@ -396,6 +396,22 @@ PowerShell -Command "" ^
|
||||||
"Start-Process -Wait $outFile '/SUPPRESSMSGBOXES', '/VERYSILENT';" ^
|
"Start-Process -Wait $outFile '/SUPPRESSMSGBOXES', '/VERYSILENT';" ^
|
||||||
"Remove-Item -Force $outFile"
|
"Remove-Item -Force $outFile"
|
||||||
|
|
||||||
|
:: === FiveM ==
|
||||||
|
ECHO FiveM...
|
||||||
|
PowerShell -Command "" ^
|
||||||
|
"$baselink = 'https://runtime.fivem.net/client';" ^
|
||||||
|
"$exe = 'FiveM.exe';" ^
|
||||||
|
"$path = \"$env:LOCALAPPDATA\FiveM\";" ^
|
||||||
|
"$outFile = Join-Path -Path $path -ChildPath $exe;" ^
|
||||||
|
"Invoke-WebRequest -Uri \"https://runtime.fivem.net/client/$exe\" -OutFile $outFile;" ^
|
||||||
|
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||||
|
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\FiveM.lnk');" ^
|
||||||
|
"$Shortcut.WorkingDirectory = \"$path\";" ^
|
||||||
|
"$Shortcut.TargetPath = $outFile;" ^
|
||||||
|
"$Shortcut.Save()"
|
||||||
|
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\fivem" /f /v DisplayName /t REG_SZ /d "FiveM"
|
||||||
|
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\fivem" /f /v InstallLocation /t REG_SZ /d "%LOCALAPPDATA%\FiveM"
|
||||||
|
|
||||||
|
|
||||||
:: === DaVinci Resolve ==
|
:: === DaVinci Resolve ==
|
||||||
ECHO Lien utile pour télécharger la dernière version de DaVinci Resolve :
|
ECHO Lien utile pour télécharger la dernière version de DaVinci Resolve :
|
||||||
|
|
Loading…
Reference in a new issue