onepub-dev / dcli

An extensive library and tooling for building console/cli applications and scripts using the Dart programming language.
236 stars 26 forks source link

Detect darwin ARM64 platform #185

Closed passsy closed 9 months ago

passsy commented 2 years ago

https://github.com/noojee/dcli/blob/ff70a59d32c93cd8b4704ff919de4c7101e1760b/dcli/lib/src/script/dart_sdk.dart#L405-L428

dcli doesn't download the arm64 version of the sdk dartsdk-macos-arm64-release.zip. It always downloads x64

bsutton commented 2 years ago

I've published a beta version of this which hopefully resolves the issue. Can you give it a test and let me know how it goes.

The main concern is that I'm not certain what system_info returns on an arm64 bit system.

version 1.16.3-beta1

bsutton commented 2 years ago

@passsy did you get a chance to test this?

bsutton commented 9 months ago

closing out due to no response.