mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-09-10 21:59:54 -05:00
optimize maixtool
This commit is contained in:
@@ -61,7 +61,7 @@ def serve(pkg_path, port = 8888):
|
||||
os.makedirs("dist", exist_ok=True)
|
||||
for local_ip in ips:
|
||||
# show qr code
|
||||
url = "http://{}:{}".format(local_ip, local_port)
|
||||
url = "http://{}:{}/?".format(local_ip, local_port)
|
||||
print("Scan the QR code to download the program:")
|
||||
# generate qr code
|
||||
img = qrcode.make(url)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
__version__ = "1.3.2"
|
||||
__version__ = "1.3.3"
|
||||
|
||||
|
||||
11
tools/maixtool/test.py
Normal file
11
tools/maixtool/test.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from maixtool.maixcdk import main as _maixcdk_main
|
||||
from maixtool.maixtool import main as _maixtool_main
|
||||
|
||||
def main():
|
||||
_maixtool_main()
|
||||
|
||||
def maixcdk_main():
|
||||
_maixcdk_main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user