Skip to content

Commit 991a524

Browse files
committed
final
1 parent bbefda4 commit 991a524

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ct/hev-socks5-server.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ function update_script() {
4242
msg_info "Updating $APP to v${RELEASE}"
4343
curl -L -o "${APP}" "https://github.com/heiher/hev-socks5-server/releases/download/${RELEASE}/hev-socks5-server-linux-x86_64"
4444
mv ${APP} /opt/${APP}
45+
chmod +x /opt/${APP}
4546
msg_ok "Updated $APP to v${RELEASE}"
4647

4748
msg_info "Starting $APP"
@@ -65,5 +66,7 @@ description
6566

6667
msg_ok "Completed Successfully!\n"
6768
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
68-
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
69-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:1080${CL}"
69+
echo -e "${INFO}${YW} Access it with a SOCKS5 client using the following URL:${CL}"
70+
echo -e "${TAB}${GATEWAY}${BGN}${IP}:1080${CL}"
71+
echo -e "${INFO}${YW} and the credentials stores at:${CL}"
72+
echo -e "${TAB}${GATEWAY}${BGN}/root/hev.creds${CL}"

install/hev-socks5-server-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ msg_info "Setup ${APPLICATION}"
2929
RELEASE=$(curl -s https://api.github.com/repos/heiher/hev-socks5-server/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
3030
curl -L -o "${APPLICATION}" "https://github.com/heiher/hev-socks5-server/releases/download/${RELEASE}/hev-socks5-server-linux-x86_64"
3131
mv ${APPLICATION} /opt/${APPLICATION}
32+
chmod +x /opt/${APPLICATION}
3233
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
3334

3435
# do not overwrite existing config

0 commit comments

Comments
 (0)