Skip to content

Commit 0a8f866

Browse files
authored
Merge pull request #32 from jacob-carlborg-apoex/fix-detecting-apple-silicon
Fix detecting of Apple Silicon architecture
2 parents 5e2f14f + eeb2705 commit 0a8f866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exe/dartsass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ platform_string = "#{system_config["host_cpu"]}-#{system_config["host_os"]}"
1010
exe_path =
1111
case platform_string
1212
when /aarch64-linux/ then File.join(__dir__, "aarch64-linux/sass")
13-
when /arm64-darwin/ then File.join(__dir__, "arm64-darwin/sass")
13+
when /arm(64)?-darwin/ then File.join(__dir__, "arm64-darwin/sass")
1414
when /darwin/ then File.join(__dir__, "darwin/sass")
1515
when /linux/ then File.join(__dir__, "linux/sass")
1616
when /mswin|mingw|cygwin/ then File.join(__dir__, "mingw32/sass.bat")

0 commit comments

Comments
 (0)