Kaynağa Gözat

Fixinng download

bodicsek 4 yıl önce
ebeveyn
işleme
640bd267af
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      config.h

+ 2 - 2
config.h

@@ -77,8 +77,8 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
 /* DOWNLOAD(URI, referer) */
 #define DOWNLOAD(u, r) { \
         .v = (const char *[]){ "st", "-e", "/bin/sh", "-c",\
-             "curl -g -L -J -O -A \"$1\" -b \"$2\" -c \"$2\"" \
-             " -e \"$3\" \"$4\"; read", \
+             "cd ~/Downloads && curl -g -L -J -O -A \"$1\" -b \"$2\" -c \"$2\"" \
+             " -e \"$3\" \"$4\"; read input", \
              "surf-download", useragent, cookiefile, r, u, NULL \
         } \
 }