xxf098 / LiteSpeedTest

A simple tool for batch test ss/ssr/v2ray/trojan servers.
GNU General Public License v3.0
344 stars 74 forks source link

mac 版没有生成 out.json文件 #21

Closed ZhouG2 closed 1 year ago

ZhouG2 commented 1 year ago

lite-darwin-amd64 lite-linux-amd64 if sys.platform.startswith("darwin"): args = ['./lite-darwin-amd64', '--config', './config.json', '--test', 'Eternity'] elif os.name == 'posix': args = ['./lite-linux-amd64', '--config', './config.json', '--test', 'Eternity'] 相同的版本,相同的命令,mac版没有输出out.jso

xxf098 commented 1 year ago

用下面的配置在macos上测试了,可以生成out.png

echo '{"group": "cronjob", "speedtestMode": "all", "pingMethod": "googleping", "sortMethod": "rspeed", "concurrency": 2, "testMode": 2, "subscription": "https://raw.githubusercontent.com/freefq/free/master/v2", "timeout": 16, "language": "en", "fontSize": 24, "theme": "rainbow", "generatePicMode": 1}' > config.json
./lite --config config.json --test https://raw.githubusercontent.com/freefq/free/master/v2

image

ZhouG2 commented 1 year ago

你好,输出图片无法编辑复制节点,可以增加一个与linux一样的输出json文件功能么?非常感谢!

xxf098 commented 1 year ago

https://github.com/xxf098/LiteSpeedTest/releases/tag/v0.13.1