mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-09-28 09:58:10 +03:00
Update SystemRuntime.py
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -45,6 +45,9 @@ def getPythonVersion():
|
||||
@functools.lru_cache(None)
|
||||
def getUbuntuRelease() -> str:
|
||||
try:
|
||||
if PLATFORM != 'Linux':
|
||||
return ''
|
||||
|
||||
result = runExternalCommand(
|
||||
['cat', '/etc/lsb-release'],
|
||||
stdout=subprocess.PIPE,
|
||||
|
||||
Reference in New Issue
Block a user