Windows check
This commit is contained in:
parent
dbae221081
commit
a625c4a3f8
|
@ -5,6 +5,9 @@ if sys.version_info[0] >= 3:
|
||||||
else:
|
else:
|
||||||
import PySimpleGUI27 as sg
|
import PySimpleGUI27 as sg
|
||||||
|
|
||||||
|
if not sys.platform.startswith('win'):
|
||||||
|
sg.PopupError('Sorry, you gotta be on Windows')
|
||||||
|
sys.exit()
|
||||||
import winsound
|
import winsound
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue