mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 18:10:24 +08:00
GT-2658 - fixed error with ghidra server relative path
This commit is contained in:
@@ -479,7 +479,7 @@ public class GhidraServer extends UnicastRemoteObject implements GhidraServerHan
|
|||||||
|
|
||||||
ResourceFile serverRoot = new ResourceFile(Application.getInstallationDirectory(),
|
ResourceFile serverRoot = new ResourceFile(Application.getInstallationDirectory(),
|
||||||
SystemUtilities.isInDevelopmentMode() ? "ghidra/Ghidra/RuntimeScripts/Common/server"
|
SystemUtilities.isInDevelopmentMode() ? "ghidra/Ghidra/RuntimeScripts/Common/server"
|
||||||
: "ghidra/server");
|
: "server");
|
||||||
if (serverRoot == null || serverRoot.getFile(false) == null) {
|
if (serverRoot == null || serverRoot.getFile(false) == null) {
|
||||||
System.err.println(
|
System.err.println(
|
||||||
"Failed to resolve installation root directory!: " + serverRoot.getAbsolutePath());
|
"Failed to resolve installation root directory!: " + serverRoot.getAbsolutePath());
|
||||||
|
|||||||
Reference in New Issue
Block a user