camera-trng/scripts/stop-obs-noise.sh

11 lines
278 B
Bash
Executable File

#!/bin/bash
# Stop OBS virtual camera
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR"
if [ -d "node_modules" ]; then
node obs-noise-camera.mjs stop "$@"
else
echo "Run 'npm install' first, or just stop the virtual camera in OBS manually"
fi