mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-11-22 03:04:35 +03:00
build-release: use uname -m
instead of -p
This commit is contained in:
parent
7a4e774dff
commit
79b1a6f1f9
@ -8,7 +8,7 @@ import zipfile
|
||||
def get_system_info():
|
||||
# Get OS and architecture information
|
||||
os_info = subprocess.run(["uname"], capture_output=True, text=True, check=True).stdout.strip().lower()
|
||||
arch_info = subprocess.run(["uname", "-p"], capture_output=True, text=True, check=True).stdout.strip().lower()
|
||||
arch_info = subprocess.run(["uname", "-m"], capture_output=True, text=True, check=True).stdout.strip().lower()
|
||||
|
||||
if os_info == "linux":
|
||||
os_info = "unknown-linux-gnu"
|
||||
|
Loading…
Reference in New Issue
Block a user