mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-25 23:55:36 -04:00
Make Qt5 work in macOS Big Sur
This commit is contained in:
parent
857a277cd2
commit
a72e4e5b54
1 changed files with 4 additions and 0 deletions
|
@ -64,6 +64,10 @@ def main():
|
||||||
"""
|
"""
|
||||||
common = Common()
|
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
|
# Display OnionShare banner
|
||||||
print(f"OnionShare {common.version} | https://onionshare.org/")
|
print(f"OnionShare {common.version} | https://onionshare.org/")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue