mpv-cam-view/new

10 lines
189 B
Bash
Executable File

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