mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2025-12-23 22:29:01 -05:00
@@ -1,2 +1,4 @@
|
||||
#!/usr/bin/env zsh
|
||||
osascript -e 'do shell script "/*/Sniffnet.app/Contents/MacOS/sniffnet >/dev/null 2>&1 &" with prompt "Comfortably monitor your Internet traffic." with administrator privileges'
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
SNIFFNET_PATH="$SCRIPT_DIR/sniffnet"
|
||||
osascript -e "do shell script \"'$(realpath "$SNIFFNET_PATH")' >/dev/null 2>&1 &\" with prompt \"Comfortably monitor your Internet traffic.\" with administrator privileges"
|
||||
|
||||
Reference in New Issue
Block a user