mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-10 21:48:22 +08:00
WIP: Quick test to get platform arch on MacOS
This commit is contained in:
parent
e8a1449815
commit
62d42e8719
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ from npbackup.core.nuitka_helper import IS_COMPILED
|
|||
# Since development currently follows Python 3.12, let's consider anything below 3.12 as legacy
|
||||
IS_LEGACY = True if (sys.version_info[1] < 12 or python_arch() == "x86") else False
|
||||
|
||||
import os
|
||||
print(os.uname())
|
||||
exit()
|
||||
try:
|
||||
CURRENT_USER = psutil.Process().username()
|
||||
except Exception:
|
||||
|
|
Loading…
Add table
Reference in a new issue