Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

Commit 244e93a

Browse files
committed
update: install.ps1
1 parent 219c4cb commit 244e93a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

gui/src/scripts/install.ps1

+8
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ function Start-Steam {
7373
}
7474

7575
Start-Process -FilePath $steamExe -ArgumentList "-verbose"
76+
77+
Start-Sleep -Seconds 5
78+
79+
$steamProcess = Get-Process -Name "steam" -ErrorAction SilentlyContinue
80+
if ($steamProcess) {
81+
Write-Output "${BoldPurple}++${ResetColor} Steam has launched successfully. Closing script..."
82+
exit
83+
}
7684
}
7785

7886
# Kill steam process before installing

0 commit comments

Comments
 (0)