adding upload script

This commit is contained in:
Ione 15 2024-06-16 19:55:41 +02:00
parent f529332864
commit 458afc02f9

7
spectacle_record.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
script_dir="$(dirname "$(realpath "$0")")" #DONOTMODIFY
UPLOAD_SCRIPT_PATH="${script_dir}/plasma_upload.sh" #Only modify if you changed the upload script name or path
TEMP_VIDEO_PATH="/tmp/ion.webm"
spectacle -bn -R r -o $TEMP_VIDEO_PATH
"${UPLOAD_SCRIPT_PATH}" $TEMP_VIDEO_PATH