Skip to content

Commit 9d467b4

Browse files
committed
Update
1 parent e906275 commit 9d467b4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/config_example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"HA_MQTT_port": 1883,
77
"ha_prefix": "homeassistant",
88
"auto_start": false,
9-
"version": "v6.0.1",
9+
"version": "v6.0.3",
1010
"check_update": false,
1111
"auto_update": false
1212
}

src/gui.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@ def exit(self):
145145
"""退出程序"""
146146
try:
147147
if self.logic.is_starting:
148-
self.core.show_toast("正在启动中,请稍后再试")
148+
self.core.show_toast("退出错误", "正在启动中,请稍后再试")
149149
return
150150
if self.logic.is_stopping:
151-
self.core.show_toast("正在停止中,请稍后再试")
151+
self.core.show_toast("退出错误", "正在停止中,请稍后再试")
152152
return
153153
if self.logic.is_running:
154+
self.core.show_toast("退出", "正在停止服务,即将退出")
154155
self.logic.stop_service()
155-
self.core.show_toast("正在停止服务,即将退出")
156156
self.close_windows()
157157
if self.tray:
158158
self.tray.stop()

0 commit comments

Comments
 (0)