This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Get current remote URL | |
currentURL=$(git config --get remote.origin.url) | |
# Exit early if no remote URL is set | |
if [[ -z "$currentURL" ]]; then | |
echo "No remote.origin.url is set. Nothing to do." | |
exit 0 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "📱 Android Security Check startet..." | |
# Prüfen, ob Gerät verbunden ist | |
if ! adb devices | grep -w "device" > /dev/null; then | |
echo "❌ Kein Gerät verbunden. Bitte USB-Debugging aktivieren und Gerät anschließen." | |
exit 1 | |
fi |
OlderNewer