Update NonSteamLaunchers.sh

This commit is contained in:
Roy 2024-12-13 22:19:42 -08:00 committed by GitHub
parent fcde7d9c0d
commit 1f4510608f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1344,7 +1344,7 @@ function install_gog {
end=$((SECONDS+90)) # Timeout after 90 seconds end=$((SECONDS+90)) # Timeout after 90 seconds
while true; do while true; do
# Kill GalaxyClient.exe every 10 seconds if it's running # Kill GalaxyClient.exe every 10 seconds if it's running
if [ $((SECONDS % 10)) -eq 0 ]; then if [ $((SECONDS % 20)) -eq 0 ]; then
if pgrep -f "GalaxyClient.exe" > /dev/null; then if pgrep -f "GalaxyClient.exe" > /dev/null; then
echo "Killing GalaxyClient.exe" echo "Killing GalaxyClient.exe"
pkill -f "GalaxyClient.exe" pkill -f "GalaxyClient.exe"