File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,12 @@ if [ "$(expr substr $(uname -s) 1 5 2>/dev/null)" == "Linux" ]; then
150
150
fi
151
151
cache_base=" $HOME /.cache/coursier/v1"
152
152
elif [ " $( uname) " == " Darwin" ]; then
153
- cs_url=" https://github.com/coursier/coursier/releases/download/v$coursier_version /cs-x86_64-apple-darwin.gz"
153
+ # TODO: remove once coursier-m1 and coursier mainline are merged
154
+ if [ " $( uname -p) " == " arm" ]; then
155
+ cs_url=" https://github.com/VirtusLab/coursier-m1/releases/download/v$coursier_version /cs-aarch64-apple-darwin.gz"
156
+ else
157
+ cs_url=" https://github.com/coursier/coursier/releases/download/v$coursier_version /cs-x86_64-apple-darwin.gz"
158
+ fi
154
159
cache_base=" $HOME /Library/Caches/Coursier/v1"
155
160
else
156
161
# assuming Windows…
You can’t perform that action at this time.
0 commit comments