mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-07 06:40:15 +00:00
Added Android platform detection
This commit is contained in:
parent
165e620043
commit
ea3716f48e
7
RNS/vendor/platformutils.py
vendored
Normal file
7
RNS/vendor/platformutils.py
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
def get_platform():
|
||||
from os import environ
|
||||
if 'ANDROID_ARGUMENT' in environ:
|
||||
return 'android'
|
||||
else:
|
||||
import sys
|
||||
return sys.platform
|
Loading…
Reference in New Issue
Block a user