Update __init__.py

This commit is contained in:
Brian Martin 2020-01-01 00:35:29 -05:00
parent b59035d4ea
commit eb72e003f5

View file

@ -272,7 +272,7 @@ def create_certs():
# run on mac # run on mac
subprocess.run([os.path.join("..", "create_certs", "create_certs_osx")]) subprocess.run([os.path.join("..", "create_certs", "create_certs_osx")])
elif str(platform.system()).lower() == "linux": elif str(platform.system()).lower() == "linux":
if "arm" in platform.machine().lower(): if "arm" in platform.machine().lower() or "aarch64" in platform.machine().lower():
# run for pi # run for pi
subprocess.run([os.path.join("..", "create_certs", "create_certs_rpi")]) subprocess.run([os.path.join("..", "create_certs", "create_certs_rpi")])
else: else: