disable assistive technologies in windows to avoid runtime crash

This commit is contained in:
Craig Raw 2022-10-31 17:14:58 +02:00
parent 3faf817148
commit 73d9cd2e68

View file

@ -216,6 +216,9 @@ jlink {
"--add-reads=com.sparrowwallet.merged.module=com.fasterxml.jackson.core",
"--add-reads=com.sparrowwallet.merged.module=co.nstant.in.cbor"]
if(os.windows) {
jvmArgs += ["-Djavax.accessibility.assistive_technologies", "-Djavax.accessibility.screen_magnifier_present=false"]
}
if(os.macOsX) {
jvmArgs += ["-Dprism.lcdtext=false", "--add-opens=javafx.graphics/com.sun.glass.ui.mac=com.sparrowwallet.merged.module"]
}