From 313d12d0f9319fbf2621544d525d9d5a2ba0c2b2 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 30 Aug 2023 02:04:42 +0800 Subject: udpated --- dist/main-mac | Bin 7454752 -> 7455232 bytes dist/main.app.zip | Bin 7380179 -> 7380681 bytes dist/main.app/Contents/MacOS/main | Bin 7454752 -> 7455232 bytes dist/setup.app.zip | Bin 7372312 -> 7372312 bytes main.py | 21 +++++++++++++++++++++ 5 files changed, 21 insertions(+) diff --git a/dist/main-mac b/dist/main-mac index 55e367e..4bd5da9 100755 Binary files a/dist/main-mac and b/dist/main-mac differ diff --git a/dist/main.app.zip b/dist/main.app.zip index 5ba3664..efe36da 100644 Binary files a/dist/main.app.zip and b/dist/main.app.zip differ diff --git a/dist/main.app/Contents/MacOS/main b/dist/main.app/Contents/MacOS/main index 384b7a0..f080f39 100755 Binary files a/dist/main.app/Contents/MacOS/main and b/dist/main.app/Contents/MacOS/main differ diff --git a/dist/setup.app.zip b/dist/setup.app.zip index 155a441..eafb956 100644 Binary files a/dist/setup.app.zip and b/dist/setup.app.zip differ diff --git a/main.py b/main.py index 616288d..510e369 100644 --- a/main.py +++ b/main.py @@ -223,6 +223,27 @@ while True: except KeyboardInterrupt: continue continue + elif localcmd[1] == 'askdialog' or localcmd[1] == 'asklog' or localcmd == 'question': + if localcmd[2len(localcmd)]: if ossystem(f"osascript -e 'display notification \"{localcmd[2]}\" with title \"{localcmd[3]}\" subtitle \"{localcmd[4]}\"'") == 0: -- cgit v1.2.3