Skip to content

Commit

Permalink
fix sling_base condition in sling-mac
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Apr 14, 2024
1 parent a2d071c commit 2035ce9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sling_base/sling-mac-amd64/sling_mac_amd64/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
BIN_FOLDER = os.path.join(os.path.dirname(__file__), 'bin')

if platform.system() == 'Darwin':
if platform.machine() == 'aarch64':
if platform.machine() == 'arm64':
SLING_BIN = os.path.join(BIN_FOLDER,'sling-mac-arm64')
else:
SLING_BIN = os.path.join(BIN_FOLDER,'sling-mac-amd64')
Expand Down
2 changes: 1 addition & 1 deletion sling_base/sling-mac-arm64/sling_mac_arm64/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
BIN_FOLDER = os.path.join(os.path.dirname(__file__), 'bin')

if platform.system() == 'Darwin':
if platform.machine() == 'aarch64':
if platform.machine() == 'arm64':
SLING_BIN = os.path.join(BIN_FOLDER,'sling-mac-arm64')
else:
SLING_BIN = os.path.join(BIN_FOLDER,'sling-mac-amd64')
Expand Down

0 comments on commit 2035ce9

Please sign in to comment.