Skip to content

Commit

Permalink
list files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mcl committed Nov 23, 2020
1 parent 2f2e291 commit 97b74e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ wget -qO- $CONFIGV2RAY | sed -e "s/\$AUUID/$AUUID/g" -e "s/\$ParameterSSENCYPT/$
mkdir -p /usr/share/caddy/$AUUID && wget -O /usr/share/caddy/$AUUID/StoreFiles $StoreFiles
wget -P /usr/share/caddy/$AUUID -i /usr/share/caddy/$AUUID/StoreFiles

cat <<EOF >/usr/share/caddy/$AUUID/downloadStoreFiles.html
<a href="v2ray-windows-64.zip" download>v2ray-windows-64.zip</a>
EOF
for file in $(ls /usr/share/caddy/$AUUID); do
[[ "$file" != "downloadStoreFiles.html" ]] && echo \<a href=\""$file"\" download\>$file\<\/a\> >>/usr/share/caddy/$AUUID/ClickToDownloadStoreFiles.html
done

# start
tor &
Expand Down

0 comments on commit 97b74e6

Please sign in to comment.