mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-24 22:40:36 -04:00
Merge pull request #1249 from micahflee/1248_big_sur
Make GUI work in macOS Big Sur
This commit is contained in:
commit
f21ab6e993
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