< prev index next >

src/jdk.incubator.jpackage/linux/classes/jdk/incubator/jpackage/internal/LinuxPackageBundler.java

Print this page

        

@@ -133,15 +133,11 @@
                         appImage.delete();
                     }
                 }
             }
 
-            if (!StandardBundlerParam.isRuntimeInstaller(params)) {
-                desktopIntegration = new DesktopIntegration(thePackage, params);
-            } else {
-                desktopIntegration = null;
-            }
+            desktopIntegration = DesktopIntegration.create(thePackage, params);
 
             Map<String, String> data = createDefaultReplacementData(params);
             if (desktopIntegration != null) {
                 data.putAll(desktopIntegration.create());
             } else {
< prev index next >