diff options
author | Micah Lee <micah@micahflee.com> | 2021-04-26 19:29:18 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2021-04-26 19:29:18 -0700 |
commit | ee3761af6cdc7d2a71e194415902063e016e761c (patch) | |
tree | 652989cc8f0473933128ddcee359c219db478ab7 /desktop | |
parent | dac508d06e25529e115e3769c66199aa5308a5b0 (diff) | |
download | onionshare-ee3761af6cdc7d2a71e194415902063e016e761c.tar.gz onionshare-ee3761af6cdc7d2a71e194415902063e016e761c.zip |
Move graphical banner into common, and display it in GUI too
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/src/onionshare/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
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) |