mirror of
https://github.com/DMaroo/GhidRust.git
synced 2025-09-10 04:53:36 +02:00
Remove existing installation before installing the new extension
* Also, clear out the `dist/` directory before building. This helps in avoiding duplicate builds caused sue of different dates.
This commit is contained in:
3
build.sh
3
build.sh
@@ -67,6 +67,8 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm dist/* 2> /dev/null
|
||||
|
||||
status "Building GhidRust"
|
||||
|
||||
gradle -PGHIDRA_INSTALL_DIR="$GHIDRA"
|
||||
@@ -85,6 +87,7 @@ fi
|
||||
|
||||
status "Installing GhidRust"
|
||||
|
||||
sudo rm -f "$GHIDRA"/*GhidRust* 2> /dev/null
|
||||
sudo cp dist/* "$GHIDRA"/Extensions/Ghidra
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
|
Reference in New Issue
Block a user