Skip to content

JVM options issue with macOS dark mode key/value #63

@ShaneBeee

Description

@ShaneBeee

So I was trying for the life of me to use a JVM option for macOS's dark mode....

After some investigating I found out why the jvm option in the maven plugin isn't working,
Maven plugin JVM Options

options.append("      ").append("<string>").append(jvmOption).append("</string>").append("\n");

It's entering the JVM option into the info.plist as a String, yet from what I found, the dark mode thing needs to be entered as a key and value, ex:

<key>NSRequiresAquaSystemAppearance</key>
<string>NO</string>

When entering this value into the plist manually, it works as expected :)

Hopefully this is something that can be updated in the plugin as I do love this plugin.

Thank you for reading!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions