mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Make Qt5 work in macOS Big Sur
This commit is contained in:
parent
83ec17efd7
commit
82629136af
@ -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/")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user