Working on the macOS cx_Freeze

This commit is contained in:
Micah Lee 2023-09-28 16:28:40 -07:00
parent 35e288e60f
commit ed90261833
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 18 additions and 92 deletions

View file

@ -44,22 +44,9 @@ if platform.system() == "Windows":
exec_icon = os.path.join("onionshare", "resources", "onionshare.ico")
elif platform.system() == "Darwin":
import PySide6
import shiboken6
include_msvcr = False
gui_base = None
exec_icon = None
include_files += [
(
os.path.join(PySide6.__path__[0], "libpyside6.abi3.6.5.dylib"),
"libpyside6.abi3.6.5.dylib",
),
(
os.path.join(shiboken6.__path__[0], "libshiboken6.abi3.6.5.dylib"),
"libshiboken6.abi3.6.5.dylib",
),
]
elif platform.system() == "Linux":
include_msvcr = False