From 6f939141fa3ade1d44a6f649fe9ae78f7cd15965 Mon Sep 17 00:00:00 2001 From: Etoh Date: Tue, 24 Oct 2023 18:44:49 +0100 Subject: [PATCH] Update syncplayClient.py Revert --- syncplayClient.py | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/syncplayClient.py b/syncplayClient.py index 5c14d4d..7177811 100755 --- a/syncplayClient.py +++ b/syncplayClient.py @@ -13,21 +13,5 @@ except AttributeError: from syncplay import ep_client -if __name__ == '__main__': - def isWindows(): - return sys.platform.startswith("win") - - def doWindowsRedistCheck(): - import ctypes - try: - ctypes.CDLL('vcruntime140.dll') - except OSError: - 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) - sys.exit() - - if isWindows(): - doWindowsRedistCheck() - +if __name__ == '__main__': ep_client.main()