Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
Revert
  • Loading branch information
Et0h authored Oct 24, 2023
1 parent 12e0501 commit 92c4130
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions syncplay/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 92c4130

Please sign in to comment.