mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] pass low-level AWT properties to the updater process (IJPL-202816)
(makes the updater work on Wayland) GitOrigin-RevId: 8f8664c4fec46842f59e893135f182a6d2cf325e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a722fc512c
commit
8e577154d3
@@ -160,6 +160,8 @@ internal object UpdateInstaller {
|
||||
args += "-Djna.debug_load.jna=true"
|
||||
args += "-Djava.io.tmpdir=${tempDir}"
|
||||
args += "-Didea.updater.log=${PathManager.getLogDir()}"
|
||||
System.getProperty("sun.java2d.metal")?.let { args += "-Dsun.java2d.metal=${it}" }
|
||||
System.getProperty("awt.toolkit.name")?.let { args += "-Dawt.toolkit.name=${it}" }
|
||||
args += "-Dswing.defaultlaf=${UIManager.getSystemLookAndFeelClassName()}"
|
||||
args += "-Duser.language=${DynamicBundle.getLocale().language}"
|
||||
args += "-Duser.country=${DynamicBundle.getLocale().country}"
|
||||
|
||||
Reference in New Issue
Block a user