From ee3761af6cdc7d2a71e194415902063e016e761c Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 26 Apr 2021 19:29:18 -0700 Subject: Move graphical banner into common, and display it in GUI too --- desktop/src/onionshare/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'desktop') diff --git a/desktop/src/onionshare/__init__.py b/desktop/src/onionshare/__init__.py index 744f6979..1c69ffa5 100644 --- a/desktop/src/onionshare/__init__.py +++ b/desktop/src/onionshare/__init__.py @@ -75,14 +75,12 @@ def main(): The main() function implements all of the logic that the GUI version of onionshare uses. """ common = Common() + common.display_banner() # Required for macOS Big Sur: https://stackoverflow.com/a/64878899 if common.platform == "Darwin": os.environ["QT_MAC_WANTS_LAYER"] = "1" - # Display OnionShare banner - print(f"OnionShare {common.version} | https://onionshare.org/") - # Start the Qt app global qtapp qtapp = Application(common) -- cgit v1.2.3-54-g00ecf