fix(gui): resolve "launchScriptPath" is null

This commit is contained in:
peasoft
2026-03-14 13:31:50 +08:00
committed by skylot
parent ff64da705c
commit 13d306024a
@@ -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;