mpv-cam-view/new

10 lines
192 B
Bash
Executable File

#!/bin/sh
_cam_directory='cams'
mkdir -p "$_cam_directory"
echo '#!/bin/sh' >> "$_cam_directory/$1"
echo "./launcher.sh \"$2\" "'"$1"' >> "$_cam_directory/$1"
chmod +x "$_cam_directory/$1"