GitbookIO / nuts

:chestnut: Releases/downloads server with auto-updater and GitHub as a backend
http://nuts.gitbook.com
Apache License 2.0
1.25k stars 300 forks source link

Add support for the darwin_arm64 platform #184

Closed vcgtz closed 1 year ago

vcgtz commented 1 year ago

There's a problem when in GitHub there are two packages for the same platform but different architecture, for example:

myapp-darwin-arm64-1.1.372.zip
myapp-darwin-x64-1.1.372.zip

This PR adds support for platforms like:

http://localhost:3000/releases/update/darwin/1.0.1
http://localhost:3000/releases/update/darwin-x64/1.0.1
http://localhost:3000/releases/update/darwin-arm64/1.0.1