Skip to content

Commit

Permalink
Add alternate names for macOS universal binaries
Browse files Browse the repository at this point in the history
It might have the -universal suffix, or it might not. Consistency!
  • Loading branch information
ctrueden committed Oct 28, 2024
1 parent 4b6d816 commit b6a6f07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/net/imagej/updater/util/UpdaterUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ public class UpdaterUtil {
static {
launcherToPlatform = new HashMap<>();
// Jaunch: https://github.com/apposed/jaunch
launcherToPlatform.put("Contents/MacOS/fiji-macos", "macos-arm64");
launcherToPlatform.put("Contents/MacOS/fiji-macos-arm64", "macos-arm64");
launcherToPlatform.put("Contents/MacOS/fiji-macos-x64", "macosx");
launcherToPlatform.put("Contents/MacOS/fiji-macos-universal", "macos-arm64");
launcherToPlatform.put("Contents/MacOS/fiji-macos-x64", "macosx");
launcherToPlatform.put("Contents/MacOS/jaunch-macos", "macos-arm64");
launcherToPlatform.put("Contents/MacOS/jaunch-macos-arm64", "macos-arm64");
launcherToPlatform.put("Contents/MacOS/jaunch-macos-x64", "macosx");
launcherToPlatform.put("Contents/MacOS/jaunch-macos-universal", "macos-arm64");
Expand Down

0 comments on commit b6a6f07

Please sign in to comment.