mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-182266 [followup] [windows] do not override app icon
This commit is contained in:
@@ -153,7 +153,7 @@ END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_VM_OPTIONS "-Didea.jre.check=false"
|
||||
IDS_VM_OPTIONS "-Didea.jre.check=false -Dide.native.launcher=true"
|
||||
IDS_PROPS_ENV_VAR "IDEA_PROPERTIES"
|
||||
IDS_VM_OPTIONS_ENV_VAR "IDEA_VM_OPTIONS"
|
||||
IDS_ERROR_LAUNCHING_APP "Error Launching IntelliJ Platform"
|
||||
|
||||
@@ -70,10 +70,10 @@ public class AppUIUtil {
|
||||
|
||||
public static void updateWindowIcon(@NotNull Window window) {
|
||||
if (SystemInfo.isWindows &&
|
||||
Integer.getInteger("jbre.win.app.icon.id") != null &&
|
||||
SystemProperties.getBooleanProperty("jbre.win.app.icon.supported", false)) // set by JBRE
|
||||
SystemProperties.getBooleanProperty("ide.native.launcher", false) &&
|
||||
SystemProperties.getBooleanProperty("jbre.win.app.icon.supported", false)) // todo[tav] defined by JBRE, remove when OpenJDK supports it as well
|
||||
{
|
||||
return; // JBRE will load icon from the exe resource
|
||||
return; // JDK will load icon from the exe resource
|
||||
}
|
||||
ApplicationInfoEx appInfo = ApplicationInfoImpl.getShadowInstance();
|
||||
List<Image> images = ContainerUtil.newArrayListWithCapacity(3);
|
||||
|
||||
Reference in New Issue
Block a user