This commit is contained in:
Andre
2026-04-03 13:16:43 +02:00
commit 7e61ee3c5c
3 changed files with 202 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
Set WshShell = CreateObject("WScript.Shell")
' Foreground-Fix Script unsichtbar starten (pythonw = kein Konsolenfenster)
WshShell.Run """C:\Projekte\Steam_backgroud_fix\.venv\Scripts\pythonw.exe"" ""C:\Projekte\Steam_backgroud_fix\foreground_fix.py""", 0, False
' Spiel starten: alle Argumente (= Steam %command%) zusammensetzen und ausführen
Dim gameCmd, i
gameCmd = ""
For i = 0 To WScript.Arguments.Count - 1
gameCmd = gameCmd & """" & WScript.Arguments(i) & """ "
Next
If gameCmd <> "" Then
WshShell.Run gameCmd, 1, False
End If