diff --git a/komrade/app/assets/PeyoteHand.png b/komrade/app/assets/PeyoteHand.png new file mode 100644 index 0000000..a2f63e0 Binary files /dev/null and b/komrade/app/assets/PeyoteHand.png differ diff --git a/komrade/app/main.py b/komrade/app/main.py index 7a07d3d..18028b3 100644 --- a/komrade/app/main.py +++ b/komrade/app/main.py @@ -782,7 +782,11 @@ class MainApp(MDApp, Logger): if __name__ == '__main__': loop = asyncio.get_event_loop() - loop.run_until_complete(MainApp().app_func()) + try: + loop.run_until_complete(MainApp().app_func()) + except TypeError: + print('\n\nGoodbye.\n') + pass loop.close() diff --git a/script/install b/script/install index 3310c13..65cdcb3 100644 --- a/script/install +++ b/script/install @@ -328,8 +328,6 @@ $commands_app " -# run? -. $path_bin/komrade-app if [ "$machine" = "Mac" ] then @@ -337,5 +335,16 @@ then unzip "$path_bin/Komrade.app.zip" # cp "$path_bin/Komrade.app" /Applications/ + echo "You may run the app by looking for 'Komrade.app' in your /Applications folder." +fi + +# run? +. $path_bin/komrade-app + + + + +if [ "$machine" = "Mac" ] +then echo "You may run the app by looking for 'Komrade.app' in your /Applications folder." fi \ No newline at end of file