mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-02-16 15:40:14 +00:00
changed patch directory
and updated distribution.gradle to copy patch/README.txt
This commit is contained in:
parent
5de10ed2a9
commit
9857ade2fe
@ -88,13 +88,7 @@ public class GhidraLauncher {
|
|||||||
private static void addPatchPaths(List<String> pathList, Collection<ResourceFile> appRootDirs) {
|
private static void addPatchPaths(List<String> pathList, Collection<ResourceFile> appRootDirs) {
|
||||||
|
|
||||||
for (ResourceFile rootDir : appRootDirs) {
|
for (ResourceFile rootDir : appRootDirs) {
|
||||||
|
ResourceFile debugLibDir = new ResourceFile(rootDir, "patch");
|
||||||
ResourceFile dir = new ResourceFile(rootDir, "bin");
|
|
||||||
if (dir.exists()) {
|
|
||||||
pathList.add(dir.getAbsolutePath());
|
|
||||||
}
|
|
||||||
|
|
||||||
ResourceFile debugLibDir = new ResourceFile(rootDir, "lib");
|
|
||||||
if (debugLibDir.exists()) {
|
if (debugLibDir.exists()) {
|
||||||
pathList.addAll(findJarsInDir(debugLibDir));
|
pathList.addAll(findJarsInDir(debugLibDir));
|
||||||
}
|
}
|
||||||
|
@ -394,7 +394,14 @@ task assembleCommon (type: Copy) {
|
|||||||
into "Ghidra"
|
into "Ghidra"
|
||||||
filter (ConcatFilter, prepend: buildDateFile)
|
filter (ConcatFilter, prepend: buildDateFile)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////
|
||||||
|
// Patch Readme
|
||||||
|
////////////////
|
||||||
|
from (ROOT_PROJECT_DIR + "/Ghidra/patch") {
|
||||||
|
into "Ghidra/patch"
|
||||||
|
}
|
||||||
|
|
||||||
/////////////////
|
/////////////////
|
||||||
// GLOBALS
|
// GLOBALS
|
||||||
/////////////////
|
/////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user