From 76bad4018bb5c7309f0163c379e68076464447b8 Mon Sep 17 00:00:00 2001 From: KingKDot Date: Mon, 13 Jul 2026 14:43:18 -0500 Subject: [PATCH] bash pmo --- scripts/build-backstage-capture-dll.sh | 4 ++-- scripts/build-backstage-dll.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/build-backstage-capture-dll.sh b/scripts/build-backstage-capture-dll.sh index 86232da..9fd90c5 100644 --- a/scripts/build-backstage-capture-dll.sh +++ b/scripts/build-backstage-capture-dll.sh @@ -155,9 +155,9 @@ if [ -d "$MINHOOK_DIR" ] && { [ -f "$MINHOOK_DIR/hook.c" ] || [ -f "$MINHOOK_DIR if [ -f "$MINHOOK_DIR/hook.c" ] && [ ! -f "$SRC_DIR/include/MinHook.h" ]; then mkdir -p "$SRC_DIR/include" if [ -f "$MINHOOK_DIR/MinHook.h" ]; then - cp -f "$MINHOOK_DIR/MinHook.h" "$SRC_DIR/include/MinHook.h" + cp -f "$MINHOOK_DIR/MinHook.h" "$SRC_DIR/include/MinHook.h" || true elif [ -f "$MINHOOK_DIR/include/MinHook.h" ]; then - cp -f "$MINHOOK_DIR/include/MinHook.h" "$SRC_DIR/include/MinHook.h" + cp -f "$MINHOOK_DIR/include/MinHook.h" "$SRC_DIR/include/MinHook.h" || true fi fi diff --git a/scripts/build-backstage-dll.sh b/scripts/build-backstage-dll.sh index 0ab6611..6770504 100644 --- a/scripts/build-backstage-dll.sh +++ b/scripts/build-backstage-dll.sh @@ -157,9 +157,9 @@ if [ -d "$MINHOOK_DIR" ] && { [ -f "$MINHOOK_DIR/hook.c" ] || [ -f "$MINHOOK_DIR if [ -f "$MINHOOK_DIR/hook.c" ] && [ ! -f "$SRC_DIR/include/MinHook.h" ]; then mkdir -p "$SRC_DIR/include" if [ -f "$MINHOOK_DIR/MinHook.h" ]; then - cp -f "$MINHOOK_DIR/MinHook.h" "$SRC_DIR/include/MinHook.h" + cp -f "$MINHOOK_DIR/MinHook.h" "$SRC_DIR/include/MinHook.h" || true elif [ -f "$MINHOOK_DIR/include/MinHook.h" ]; then - cp -f "$MINHOOK_DIR/include/MinHook.h" "$SRC_DIR/include/MinHook.h" + cp -f "$MINHOOK_DIR/include/MinHook.h" "$SRC_DIR/include/MinHook.h" || true fi fi