Platform version check for Windows
This commit is contained in:
parent
a72aaf12ca
commit
b6df952995
|
@ -8,9 +8,11 @@ def get_platform():
|
|||
|
||||
def platform_checks():
|
||||
if str(get_platform()).startswith("win32"):
|
||||
import sys
|
||||
if sys.version_info.major >= 3 and sys.version_info.minor >= 8:
|
||||
pass
|
||||
else:
|
||||
RNS.log("On Windows, Reticulum requires Python 3.8 or higher.")
|
||||
RNS.log("Please update Python to run Reticulum.")
|
||||
import RNS
|
||||
RNS.log("On Windows, Reticulum requires Python 3.8 or higher.", RNS.LOG_ERROR)
|
||||
RNS.log("Please update Python to run Reticulum.", RNS.LOG_ERROR)
|
||||
RNS.panic()
|
Loading…
Reference in New Issue