GT-2658 - fixed error with ghidra server relative path

This commit is contained in:
dev747368
2019-09-05 13:51:34 -04:00
parent eff84e30d6
commit 0ae460952e
@@ -479,7 +479,7 @@ public class GhidraServer extends UnicastRemoteObject implements GhidraServerHan
ResourceFile serverRoot = new ResourceFile(Application.getInstallationDirectory(),
SystemUtilities.isInDevelopmentMode() ? "ghidra/Ghidra/RuntimeScripts/Common/server"
: "ghidra/server");
: "server");
if (serverRoot == null || serverRoot.getFile(false) == null) {
System.err.println(
"Failed to resolve installation root directory!: " + serverRoot.getAbsolutePath());