Merge pull request from micahflee/1248_big_sur

Make GUI work in macOS Big Sur
This commit is contained in:
Micah Lee 2020-12-13 20:02:11 -08:00 committed by GitHub
commit f21ab6e993

@ -64,6 +64,10 @@ def main():
"""
common = Common()
# 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/")