Merge pull request #1334 from micahflee/ascii_art

Prettier ASCII art
This commit is contained in:
Saptak Sengupta 2021-04-29 19:19:52 +05:30 committed by GitHub
commit ad93056a17
3 changed files with 251 additions and 56 deletions

View file

@ -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)