lon91ong
lon91ong
手动更新也失败, 在软件包中卸载了1.2-74, 在putty中手动安装1.2-71功能正常了
等等我重装回1.2-74
没有用ssr-plus 下面时1.2-74的节点更新日志: ``` 2021-08-17 18:07:49 Main Node: Unable to get address. Check domain name! 2021-08-17 18:07:49 Check IP/GFW files successful! 2021-08-17 18:07:49 Check IP/GFW files... 2021-08-17 18:07:49 Check network status...
submit参数需要设置为True才能真正下单
还有ClashWeb.exe程序的源代码希望能分享一下
> > 如题,里面基本都是一句话的事,完全可以整合到一个文件里面,看着更清爽些 > > 已完成,参考 > 我大概看了一下[AutoHotKey的手册](https://wyagd001.github.io/zh-cn/docs/AutoHotkey.htm),发现这一步完全可以跳过批处理的 在ClashWeb.ahk的第二行后面插入环境变量设置: ``` ; 环境变量设置 Array := Array() Array.Insert(A_WorkingDir . "\") Array.Insert(A_WorkingDir . "\App\") Array.Insert(A_WorkingDir . "\App\tap\") Array.Insert(A_WorkingDir . "\Python\") Array.Insert(A_WorkingDir . "\Python\Scripts")...
@lzdnico 好奇你的flask的port初始端口10086是在哪里定义的? 搜了几圈源码都没有找到
@lzdnico `安装依赖.bat`执行时, 提示错误`No module named pip3` 在`Python\Scripts`目录中找到个`pip3.exe`, 直接执行提示错误: `Fatal error in launcher: Unable to create process using '"f:\clashweb\python\python.exe"` 这个`f:\clashweb\python\python.exe`应该是你编译时的环境设置吧?!
@lzdnico 换个python环境包吧, 这个提取自[XX-Net](https://github.com/XX-net/XX-Net)的python环境够精简,总共10M出头,已经打包了Flask和requests [下载地址](https://ws28.cn/f/40u7tdfkm7i) 还可以根据需要安装任意的包, 具体看[我的说明](https://www.jianshu.com/p/e0724d8248b2)
@lzdnico 我还奇怪你导入的flask_restful包是干什么用的,代码里面没有查到应用的地方,我这里卸载了flask_restful不影响后台运行 我在你项目的基础上精简了一个使用更方便写的,放[码云](https://gitee.com/sobweb/ClashWebMod)了 主要的改动: 1. 去掉了根目录下的批处理,环境变量设置放入了ahk脚本中 2. 去掉了保存配置的tmp.vbs 3. 去掉了自己用不到的tap 4. 加入了自动更新clsh节点配置