diff --git a/src/ghidra/GhidraInstallation.ts b/src/ghidra/GhidraInstallation.ts index bc27cecd83..f2d82f6c47 100644 --- a/src/ghidra/GhidraInstallation.ts +++ b/src/ghidra/GhidraInstallation.ts @@ -1134,16 +1134,7 @@ export const systemGhidraInstallationHost = (): GhidraInstallationHost => ({ } }, executableHeader: readGhidraExecutableHeader, - executable(path) { - try { - accessSync(path, constants.X_OK); - return statSync(path).isFile(); - } catch (cause: unknown) { - // best-effort cleanup: optional executable probing; failure means missing. - void cause; - return false; - } - }, + executable: executablePath, probeJava: probeGhidraJava, discoverInstallDirOnPath: discoverGhidraInstallationOnPath, });