diff --git "a/\344\270\255\346\226\207\344\272\244\344\272\222\346\250\241\345\274\217.bat" "b/InteractiveModeCHS\344\270\255\346\226\207\344\272\244\344\272\222\346\250\241\345\274\217.bat" similarity index 100% rename from "\344\270\255\346\226\207\344\272\244\344\272\222\346\250\241\345\274\217.bat" rename to "InteractiveModeCHS\344\270\255\346\226\207\344\272\244\344\272\222\346\250\241\345\274\217.bat" diff --git a/README.md b/README.md index 3ce3d73..e570b65 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This tool can help you test the stability of your device's MQTT connection. [Github](https://github.com/tongdysoft/mqtt-test-server) -- version: `1.1.0` +- version: `1.2.0` - golang version (main): `1.20.4` - golang version (release): `1.18.2` @@ -76,7 +76,7 @@ Copyright (c) 2022 KagurazakaYashi@Tongdy MqttClientTestTool is licensed under M 这个工具可以帮助您测试设备的 MQTT 连接的稳定性。 -- 版本: `1.1.0` +- 版本: `1.2.0` - golang 版本 (主线): `1.20.4` - golang 版本 (最新编译): `1.18.2` @@ -93,13 +93,13 @@ Copyright (c) 2022 KagurazakaYashi@Tongdy MqttClientTestTool is licensed under M - `-p 字符串` - 指定要监听的地址和端口 (默认值: `127.0.0.1:1883` ) - 如需允许所有 IP 地址: `:1883` -- `-ca string` +- `-ca 文件路径字符串` - CA 证书文件路径 -- `-ce string` +- `-ce 文件路径字符串` - 服务器证书文件路径 -- `-ck string` +- `-ck 文件路径字符串` - 服务器私钥文件路径 -- `-cp string` +- `-cp 字符串` - 服务器私钥文件的密码 - `-c 字符串` - 只允许客户端 ID 为这些的客户端(使用 `,` 分隔) diff --git a/build.bat b/build.bat index f675a7b..5688f1a 100644 --- a/build.bat +++ b/build.bat @@ -1,6 +1,6 @@ -SET name=MqttClientTestTool_v1.1.0_ +SET name=MqttClientTestTool_v1.2.0_ DEL /Q bin\* -COPY Ľģʽ.bat bin\ +COPY InteractiveMode*.bat bin\ COPY README.md bin\ COPY rc.icns bin\app.icns SET CGO_ENABLED=0 @@ -22,7 +22,7 @@ SET GOOS=linux go build -o bin\%name%Linux32 . @REM xz -z -e -9 -T 0 -v bin/* cd bin -7z a -mx9 -tzip %name%Windows.zip %name%Windows* Ľģʽ.bat README.md +7z a -mx9 -tzip %name%Windows.zip %name%Windows* InteractiveMode*.bat README.md 7z a -mx9 -tzip %name%Linux.zip %name%Linux* README.md 7z a -mx9 -tzip %name%macOS.zip %name%macOS* README.md app.icns DEL /Q *32 diff --git a/go.sum b/go.sum index f68ba93..f6a9199 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ github.com/akavel/rsrc v0.10.2 h1:Zxm8V5eI1hW4gGaYsJQUhxpjkENuG91ki8B4zCrvEsw= github.com/akavel/rsrc v0.10.2/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.2.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/josephspurrier/goversioninfo v1.4.0 h1:Puhl12NSHUSALHSuzYwPYQkqa2E1+7SrtAPJorKK0C8= diff --git a/rc.icns b/rc.icns index 842083e..00e8ddb 100644 Binary files a/rc.icns and b/rc.icns differ diff --git a/rc.ico b/rc.ico index c065795..51ccf53 100644 Binary files a/rc.ico and b/rc.ico differ