Skip to content

Commit

Permalink
feat(proxy): 增加提示
Browse files Browse the repository at this point in the history
  • Loading branch information
fishros committed Sep 22, 2023
1 parent 05e49ff commit 96fece7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/tool_install_proxy_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ def install_proxy_tool(self):
FileUtils.new(path=desktop_path,name="启动代理.desktop",data=start_clash_new_terminal_desktop.replace("{script_path}",clash_home+"start_clash.sh"))
CmdTask('sudo chmod a+x {}启动代理.desktop'.format(desktop_path),os_command=True).run()

PrintUtils.print_info("==========使用方法===========")
PrintUtils.print_info("1.桌面快捷方式:需要先右击允许执行才能使用")
PrintUtils.print_info("2.可以在终端中直接运行脚本启动,启动脚本 $HOME/.clash/start_clash.sh")
PrintUtils.print_info("3.终端通过环境变量设置: export http_proxy=http://127.0.0.1:7890 && export https_proxy=http://127.0.0.1:7890")
PrintUtils.print_info("4.配置系统默认代理方式: 系统设置->网络->网络代理->手动->HTTP(127.0.0.1 7890)->HTTPS(127.0.0.1 7890)")
PrintUtils.print_info("5.其他系统(Android/IOS/Windows)下载软件:https://repo.trojan-cdn.com/")

def run(self):
self.install_proxy_tool()

0 comments on commit 96fece7

Please sign in to comment.