Update __init__.py

Import sys if needed
This commit is contained in:
Etoh 2023-10-24 18:49:30 +01:00 committed by GitHub
parent fc311d83fb
commit 8f758c36e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ def doWindowsRedistCheck():
ctypes.windll.user32.MessageBoxW(0, '''Syncplay relies on the Microsoft Visual C++ Redistributable which is not installed.
It can be downloaded at https://aka.ms/vs/17/release/vc_redist.x86.exe
For more details see http://syncplay.pl/''', "Syncplay", 1)
import sys
sys.exit()
if isWindows():