Download the new release tarballs, which store the dfx binary in a subdirectory of the same name as the archive. This matches the structure of the release archives that cargo-dist makes, and is more consistent with release tarballs in general (though there are no strict rules).
Description
Download the new release tarballs, which store the dfx binary in a subdirectory of the same name as the archive. This matches the structure of the release archives that cargo-dist makes, and is more consistent with release tarballs in general (though there are no strict rules).
Fixes https://dfinity.atlassian.net/browse/SDK-1360
How Has This Been Tested?
Installed dfx 0..5.2, 0.9.3, 0.16.0, and 0.16.1-cargodist.4 (actually created with cargo-dist) on OSX and WSL.
Checklist: