diff --git a/Script.ps1 b/Script.ps1 index daab1c9..5f9500c 100644 --- a/Script.ps1 +++ b/Script.ps1 @@ -22,6 +22,14 @@ $ScreenConnectPath = "$env:TEMP\ScreenConnect.ClientSetup.exe" Invoke-WebRequest -Uri $ScreenConnectUrl -OutFile $ScreenConnectPath Start-Process -FilePath $ScreenConnectPath -ArgumentList "/silent" -Wait +# Install Discord +$discordURL = "https://discordapp.com/api/download?platform=win" +$discordPath = "$env:USERPROFILE\Downloads\discord-setup.exe" + +Invoke-WebRequest -Uri $discordURL -OutFile $discordPath +Start-Process -FilePath $discordPath -Wait + + # Run commands in new PowerShell instance Start-Process powershell.exe -ArgumentList "-NoProfile -Command {irm https://massgrave.dev/get | iex}" Start-Process powershell.exe -ArgumentList "-NoProfile -Command {iwr -useb https://christitus.com/win | iex}"