Skip to content

Commit

Permalink
update: install.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEnergy committed Nov 19, 2024
1 parent 219c4cb commit 244e93a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gui/src/scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ function Start-Steam {
}

Start-Process -FilePath $steamExe -ArgumentList "-verbose"

Start-Sleep -Seconds 5

$steamProcess = Get-Process -Name "steam" -ErrorAction SilentlyContinue
if ($steamProcess) {
Write-Output "${BoldPurple}++${ResetColor} Steam has launched successfully. Closing script..."
exit
}
}

# Kill steam process before installing
Expand Down

0 comments on commit 244e93a

Please sign in to comment.