From 92c413043c486a2bd8b8babd651108a887af0c82 Mon Sep 17 00:00:00 2001 From: Etoh Date: Tue, 24 Oct 2023 19:23:12 +0100 Subject: [PATCH] Update __init__.py Revert --- syncplay/__init__.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/syncplay/__init__.py b/syncplay/__init__.py index 015a91c9..e1863857 100755 --- a/syncplay/__init__.py +++ b/syncplay/__init__.py @@ -3,20 +3,3 @@ milestone = 'Yoitsu' release_number = '108' projectURL = 'https://syncplay.pl/' -import sys - -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()