Files
2026-08-27 11:22:43 -06:00

16 lines
383 B
Bash

#!/bin/bash
userId=`id -u`
if [[ $userId = "0" ]]; then
echo "[!!!] ERROR: Commander should not be run as ROOT"
else
export DYLD_FRAMEWORK_PATH=./lib64-mac/lib/
if [ -z "$1" ]; then
echo "[+] Running Commander. No stylesheets provided"
./lib64-mac/commander
else
echo "[+] Using $1 as stylesheet"
./lib64-mac/commander $1
fi;
fi;