summaryrefslogtreecommitdiff
path: root/scripts/crunch_demo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/crunch_demo.sh')
-rwxr-xr-xscripts/crunch_demo.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/crunch_demo.sh b/scripts/crunch_demo.sh
index d9c77a4..8584209 100755
--- a/scripts/crunch_demo.sh
+++ b/scripts/crunch_demo.sh
@@ -13,13 +13,13 @@ OS_NAME=$(uname -s)
if [ "$OS_NAME" = "Darwin" ]; then
echo "macOS detected. Using 'strip' and 'gzexe' (UPX is unreliable on macOS)."
-
+
# Copy original to output to work on it
cp "$SRC_BIN" "$OUT_BIN"
-
+
echo "Stripping symbols..."
strip -u -r "$OUT_BIN"
-
+
if command -v gzexe >/dev/null 2>&1; then
echo "Compressing with gzexe..."
gzexe "$OUT_BIN"