File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -90,22 +90,23 @@ get_window_id() {
9090 xdotool search --pid " $1 " 2> /dev/null | tail -n 1
9191}
9292
93- curl_upload_file_keepsh () {
94- FILEPATH=" $1 "
95- curl \
96- --upload-file " $FILEPATH " \
97- https://free.keep.sh
98- }
99-
100- # curl_upload_file_0x0() {
93+ # curl_upload_file_keepsh() {
10194# FILEPATH="$1"
10295# curl \
103- # -F' file=@' "$FILEPATH" \
104- # https://0x0.st
96+ # --upload- file "$FILEPATH" \
97+ # https://free.keep.sh
10598# }
10699
100+ curl_upload_file_0x0 () {
101+ FILEPATH=" $1 "
102+ curl \
103+ -F' file=@' " $FILEPATH " \
104+ https://0x0.st
105+ }
106+
107107curl_upload_file () {
108- curl_upload_file_keepsh " $1 "
108+ # curl_upload_file_keepsh "$1"
109+ curl_upload_file_0x0 " $1 "
109110}
110111
111112make_and_compare_screenshot () {
You can’t perform that action at this time.
0 commit comments