Skip to content

Commit bfdf3d9

Browse files
committed
Fix macOS title bar for dark mode
Closes #1217
1 parent 444bd83 commit bfdf3d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ant/unix/unix-launcher.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ fi
125125
if command -v java &>/dev/null; then
126126
echo -e "$ABOUT_TITLE is starting..."
127127
if [[ "$OSTYPE" == "darwin"* ]]; then
128-
java $LAUNCH_OPTS -Xdock:name="$ABOUT_TITLE" -Xdock:icon="$DIR/../Resources/$PROPS_FILE.icns" -jar -Dapple.awt.UIElement="true" -Dapple.awt.enableTemplateImages="true" "$DIR/../Resources/${prefix}$PROPS_FILE.jar" -NSRequiresAquaSystemAppearance False "$@"
128+
java $LAUNCH_OPTS -Xdock:name="$ABOUT_TITLE" -Xdock:icon="$DIR/../Resources/$PROPS_FILE.icns" -jar -Dapple.awt.UIElement="true" -Dapple.awt.enableTemplateImages="true" -Dapple.awt.application.appearance="system" "$DIR/../Resources/${prefix}$PROPS_FILE.jar" -NSRequiresAquaSystemAppearance False "$@"
129129
else
130130
java $LAUNCH_OPTS -jar "$PROPS_FILE.jar" "$@"
131131
fi

0 commit comments

Comments
 (0)