Skip to content

Commit

Permalink
Fixed the Mac app launcher
Browse files Browse the repository at this point in the history
This deals with a regression formerly fixed a while ago.  The Mac app
launcher should *not* pass along extra command-line arguments (unlike
the igv.sh and igv.command launchers).  When launched as a Mac app,
some versions of macOS will pass extra parameters through to the script
that are nonsensical to IGV.  Users with needs for that should use
those other scripts instead.
  • Loading branch information
davideby committed Aug 11, 2020
1 parent 64faff9 commit 457c901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/mac.app/Contents/MacOS/IGV
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ if [ -e "$HOME/.igv/java_arguments" ]; then
-Dapple.laf.useScreenMenuBar=true \
-Djava.net.preferIPv4Stack=true \
@"$HOME/.igv/java_arguments" \
--module=org.igv/org.broad.igv.ui.Main "$@"
--module=org.igv/org.broad.igv.ui.Main
else
java -showversion --module-path="${prefix}/../Java/lib" -Xmx4g \
@"${prefix}/../Java/igv.args" \
-Xdock:name="IGV" \
-Xdock:icon="${prefix}/../Resources/IGV_64.png" \
-Dapple.laf.useScreenMenuBar=true \
-Djava.net.preferIPv4Stack=true \
--module=org.igv/org.broad.igv.ui.Main "$@"
--module=org.igv/org.broad.igv.ui.Main
fi

0 comments on commit 457c901

Please sign in to comment.