Skip to content

Commit 87c2cf9

Browse files
committed
update
1 parent 51cd446 commit 87c2cf9

File tree

7 files changed

+73
-2
lines changed

7 files changed

+73
-2
lines changed

MQTTClient.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818

1919
import paho.mqtt.client as mqtt
2020

21-
import about
2221
import new_connect
2322
import new_topic
2423
import subscriber
24+
import about
25+
2526
from config_file import ConfigFile
2627

2728

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pip install mqttclient
4545

4646
### MacOS
4747

48-
pyinstaller --add-data 'icon.png:.' --add-data 'README.md:.' --add-data 'LICENSE:.' --icon=icon.icns MQTTClient.py -w --noconsole --windowed
48+
pyinstaller MQTTClient.py -w --windowed
4949

5050
### Windows
5151
pyinstaller --add-data 'icon.png:.' --add-data 'README.md:.' --add-data 'LICENSE:.' --icon=icon.ico MQTTClient.py --noconsole

hooks/config_file.ini

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
[broker.hivemq.com]
2+
broker = broker.hivemq.com
3+
port = 1883
4+
username =
5+
password =
6+
topics = #,timestamp,test,ddd,
7+
8+
[publicmqttbroker.iiotmq.com]
9+
broker = publicmqttbroker.iiotmq.com
10+
port = 1883
11+
username = publicmqttbroker
12+
password = publicmqttbroker
13+
topics = #,timestamp,
14+
15+
[broker.emqx.io]
16+
broker = broker.emqx.io
17+
port = 1883
18+
username =
19+
password =
20+
topics = #,timestamp,
21+
22+
[mqtt.eclipse.org]
23+
broker = mqtt.eclipse.org
24+
port = 1883
25+
username =
26+
password =
27+
topics = #,timestamp,
28+
29+
[test.mosquitto.org]
30+
broker = test.mosquitto.org
31+
port = 1883
32+
username =
33+
password =
34+
topics = #,timestamp,
35+
36+
[mqtt.flespi.io]
37+
broker = mqtt.flespi.io
38+
port = 1883
39+
username =
40+
password =
41+
topics = #,timestamp,
42+
43+
[mqtt.dioty.co]
44+
broker = mqtt.dioty.co
45+
port = 1883
46+
username =
47+
password =
48+
topics = #,timestamp,
49+
50+
[mqtt.fluux.io]
51+
broker = mqtt.fluux.io
52+
port = 1883
53+
username =
54+
password =
55+
topics = #,timestamp,
56+
57+
[iothook.com]
58+
broker = iothook.com
59+
port = 1883
60+
username = iothookpublic
61+
password = iothookpublic
62+
topics = #,timestamp,test,testtopic,aaa,$SYS,
63+
64+
[qqq]
65+
broker = qqq
66+
port = qq
67+
username = qq
68+
password = qq
69+

hooks/icon.icns

1.12 KB
Binary file not shown.

hooks/icon.ico

1.12 KB
Binary file not shown.

hooks/icon.png

14.5 KB
Loading

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
paho-mqtt
22
pyinstaller
3+
pyinstaller-hooks-contrib
34
configparser
45
py2app==0.24
56
auto-py-to-exe

0 commit comments

Comments
 (0)