From 73d9cd2e68a4a60e11a6ab46d266e477f492f3ba Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 31 Oct 2022 17:14:58 +0200 Subject: [PATCH] disable assistive technologies in windows to avoid runtime crash --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index 421d435b..54459fd8 100644 --- a/build.gradle +++ b/build.gradle @@ -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"] }