你在干什么?
-
proxychains .\tools\install.win.bat 使用代理安装成功了,github测试环境都在国外
-
@2412322029 没有修改代码也安装成功了吗
-
@sunrisepeak 改了代码运行还是会报错,我重新运行安装脚本一直在下载xvm重试,然后加上代理,就安装成功了,代码没有还原
-
@2412322029 如果代码还原 加上代理可以安装成功吗, 按理最新代码如果github用不了会选择gitee
-
我卸载xlings,重新gitclone,运行proxychains .\tools\install.win.bat,安装成功了,下载xvm,xim 的部分有问题
-
[PID20740] [I] 2025/01/22 15:55:04 <> 127.0.0.1:10808 [PID20740] [I] 2025/01/22 15:55:04 Ws2_32.dll connect(400 127.0.0.1:50647 16) PROXY [PID20740] [I] 2025/01/22 15:55:05 <> 127.0.0.1:10808 [PID20740] [I] 2025/01/22 15:55:05 Ws2_32.dll connect(400 20.205.243.168:443 16) PROXY [xlings]: downloading https://github.com/d2learn/xlings/releases/download/xvm-dev/xvm-dev-x86_64-pc-windows-gnu-20250119165726.zip to C:\Users\Public\.xlings_data\xim\xvm-dev-x86_64-pc-windows-gnu-20250119165726.zip [PID22852] [I] 2025/01/22 15:55:06 <> 127.0.0.1:10808 [PID22852] [I] 2025/01/22 15:55:06 Ws2_32.dll connect(392 127.0.0.1:50652 16) PROXY [PID22852] [I] 2025/01/22 15:55:06 <> 127.0.0.1:10808 [PID22852] [I] 2025/01/22 15:55:06 Ws2_32.dll connect(392 20.205.243.166:443 16) PROXY #=#=- # # [PID22852] [I] 2025/01/22 15:55:07 <> 127.0.0.1:10808 [PID22852] [I] 2025/01/22 15:55:07 Ws2_32.dll connect(516 127.0.0.1:50658 16) PROXY -#O=# # # [PID22852] [I] 2025/01/22 15:55:07 <> 127.0.0.1:10808 [PID22852] [I] 2025/01/22 15:55:07 Ws2_32.dll connect(516 185.199.108.133:443 16) PROXY ################################################################################################################ 100.0% [xlings:xim]: start extract xvm-dev-x86_64-pc-windows-gnu-20250119165726.zip [xlings:xim]: start install xvm, it may take some minutes...
-
@2412322029 如果加上代理 最新代码安装包括xvm初始化就都没有问题了是吗
不知道是不是 本地开了代理 但是 xlings又识别不到 导致的。按理会选择一个延时低的镜像进行初始化 -
只在下载xlings时使用了gitee,后面下载还是使用的github
-
ping不会走代理,WebRequest有proxy参数,可以测试google之类的
-
> proxychains .\install.win.bat [xlings]: start detect environment and try to auto config... [xlings]: xmake installed [xlings]: xlings is already in PATH. [PID11076] [I] 2025/01/22 16:06:12 <> 127.0.0.1:10808 [PID11076] [I] 2025/01/22 16:06:12 Ws2_32.dll connect(364 127.0.0.1:61337 16) PROXY [PID11076] [I] 2025/01/22 16:06:12 <> 127.0.0.1:10808 [PID11076] [I] 2025/01/22 16:06:12 Ws2_32.dll connect(364 20.205.243.166:80 16) PROXY Latency of URL 'https://github.com/d2learn/xim-pkgindex.git': 712.902ms [PID14204] [I] 2025/01/22 16:06:13 <> 127.0.0.1:10808 [PID14204] [I] 2025/01/22 16:06:13 Ws2_32.dll connect(324 127.0.0.1:61342 16) PROXY [PID14204] [I] 2025/01/22 16:06:13 <> 127.0.0.1:10808 [PID14204] [I] 2025/01/22 16:06:13 Ws2_32.dll connect(324 180.76.198.77:80 16) PROXY Latency of URL 'https://gitee.com/sunrisepeak/xim-pkgindex.git': 322.722ms [xlings]: set xim default index repo: https://gitee.com/sunrisepeak/xim-pkgindex.git [xlings]: remove C:/Users/Public/xlings - ok -> delete local cache data?(y/n) [W] 2025/01/22 16:06:21 [PX:Ctrl-C] 24123@lolik ~\xlings\tools git:main > .\install.win.bat [xlings]: start detect environment and try to auto config... [xlings]: xmake installed [xlings]: xlings is already in PATH. [xlings]: remove C:/Users/Public/xlings - ok -> delete local cache data?(y/n) y [xlings]: remove C:/Users/Public/.xlings_data - ok [xlings]: xlings uninstalled - ok [xlings]: install xlings to C:/Users/Public/xlings [xlings]: create rcachedir C:/Users/Public/.xlings_data [xlings]: create bindir C:\Users\Public\.xlings_data\bin [xlings]: copy profile to rcachedir... [xlings]: copy xlings config file to rcachedir... [xlings]: config system environment... error: cannot import module: xlings, cannot import module: xim.xim, cannot import module: CmdProcessor, cannot import module: xim.index.IndexManager, 21.041361 'xvm' 不是内部或外部命令,也不是可运行的程序
-
不知道proxychains能不能直接执行命令, 如果可以的话。可以设置一个短命令
xvm add proxy-xim 0.0.1 --alias "proxychains xim"
或者
xvm add proxy-xim 0.0.1 --path C:\Users\Public\.xlings_data\bin --alias "proxychains xim"
-
> proxy-xim list [xlings:xim]: load package data failed - list [xlings:xim]: package not found - list Did you mean one of these? { } [xlings:xim]: please check the name and try again [I] 2025/01/22 16:09:19 All Windows descendant process exited. [I] 2025/01/22 16:09:19 Master exiting
应该可以,proxychains 加在命令前面,会hook windows tcp 连接,实现代理
-
> xim -s py [xlings:xim]: search for *py* ... { "python@3.12.6" = { "python@latest", "python" }, "python@winget" = { } } 24123@lolik ~\xlings\tools git:main > proxy-xim -s py [xlings:xim]: search for *py* ... { "python@3.12.6" = { "python", "python@latest" }, "python@winget" = { } } [I] 2025/01/22 16:12:09 All Windows descendant process exited. [I] 2025/01/22 16:12:09 Master exiting
-
@2412322029 那就还好, 应该不影响使用。后面我研究一下 看看把 proxychains 也加到包索引库里
-
目前xlings整体在windows上做的体验还每那么好, 也很少人从windows侧反映问题。如果你有遇到什么问题或者感觉可能优化的点 可以 提issues, 或在这里xlnigs版本发帖一起讨论
-
seeme的包文件 建议分成两个 一个前端的 一个后端的 这样简洁一些
- seeme-frontend.lua
- seeme-backend.lua
-
@sunrisepeak 确实
-
@2412322029 而且感觉"seeme-frontend.lua", 从使用者视角看是可以做成类应用的 安装好 暴露一个 seeme-report 命令给用户 当成一个程序来用就可以 当然安装过程也可以 提示添加report到默认服务器的命令 seeme-report2servername 之类的...
-
@sunrisepeak 按道理前端后端都在server文件夹里面,我直接把编译的前端文件放在flask的templates里面了,report算是一个客户端, seeme-server 和seeme-report
-
@2412322029 大概是这个意思, "frontend"不是特指web页面