mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-12-23 04:10:18 +00:00
Platform version check for Windows
This commit is contained in:
parent
a72aaf12ca
commit
b6df952995
6
RNS/vendor/platformutils.py
vendored
6
RNS/vendor/platformutils.py
vendored
@ -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
Block a user