From 13d306024a8d79c768f16d71604074b55c8e958f Mon Sep 17 00:00:00 2001 From: peasoft Date: Sat, 14 Mar 2026 13:31:50 +0800 Subject: [PATCH] fix(gui): resolve "launchScriptPath" is null --- jadx-gui/src/main/java/jadx/gui/utils/DesktopEntryUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jadx-gui/src/main/java/jadx/gui/utils/DesktopEntryUtils.java b/jadx-gui/src/main/java/jadx/gui/utils/DesktopEntryUtils.java index 07f87b28e..1e858dfc0 100644 --- a/jadx-gui/src/main/java/jadx/gui/utils/DesktopEntryUtils.java +++ b/jadx-gui/src/main/java/jadx/gui/utils/DesktopEntryUtils.java @@ -144,7 +144,7 @@ public class DesktopEntryUtils { public static @Nullable String getLaunchScriptPath() { String launchScriptPath = System.getProperty("jadx.launchScript.path"); - if (launchScriptPath.isEmpty()) { + if (launchScriptPath == null || launchScriptPath.isEmpty()) { LOG.error( "The jadx.launchScript.path property is not set. Please launch JADX with the bundled launch script or set it to the appropriate value yourself."); return null;