mirror of
https://github.com/NohamR/RMHook-Android.git
synced 2026-10-10 18:29:42 +00:00
Harden build and injection shell scripts
This commit is contained in:
@@ -95,6 +95,7 @@ echo "✅ Qt libraries ready at $QT_LIB_DIR"
|
||||
# --- Step 2: Compile native hooking library ---
|
||||
echo "[2/2] Compiling $SO_NAME..."
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
"$CC" -shared -fPIC -O2 -std=c++17 -stdlib=libc++ -fno-exceptions -fno-rtti \
|
||||
-DQT_NO_VERSION_TAGGING \
|
||||
-o "$BUILD_DIR/$SO_NAME" \
|
||||
@@ -120,4 +121,4 @@ echo "📍 Library: $BUILD_DIR/$SO_NAME ($(ls -lh "$BUILD_DIR/$SO_NAME" | awk '{
|
||||
echo ""
|
||||
echo "🚀 To inject into the reMarkable application:"
|
||||
echo " ./script/inject.sh"
|
||||
echo ""
|
||||
echo ""
|
||||
Reference in New Issue
Block a user