WIP
This commit is contained in:
parent
2676ed099d
commit
68fc75c087
1 changed files with 4 additions and 8 deletions
12
app.spec
12
app.spec
|
|
@ -5,7 +5,6 @@ import sys
|
||||||
|
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
# Detect OS and architecture to include the correct GTK/WebKit libs
|
|
||||||
machine = platform.machine().lower()
|
machine = platform.machine().lower()
|
||||||
binaries = []
|
binaries = []
|
||||||
if sys.platform.startswith("linux"):
|
if sys.platform.startswith("linux"):
|
||||||
|
|
@ -20,15 +19,12 @@ if sys.platform.startswith("linux"):
|
||||||
(os.path.join(libdir, "libjavascriptcoregtk-4.1.so.0"), "."),
|
(os.path.join(libdir, "libjavascriptcoregtk-4.1.so.0"), "."),
|
||||||
]
|
]
|
||||||
elif sys.platform == "darwin":
|
elif sys.platform == "darwin":
|
||||||
binaries = [
|
binaries = []
|
||||||
("/Library/Frameworks/WebKit.framework/Versions/Current/WebKit", "."),
|
|
||||||
]
|
|
||||||
elif sys.platform.startswith("win"):
|
elif sys.platform.startswith("win"):
|
||||||
# Windows DLLs go here (example paths)
|
# Windows DLLs
|
||||||
binaries = [("C:\\\\path\\\\to\\\\WebKit2.dll", ".")]
|
binaries = []
|
||||||
|
|
||||||
# pull in all your Pipfile.lock defaults as hidden-imports:
|
with open("./Pipfile.lock") as f:
|
||||||
with open("Pipfile.lock") as f:
|
|
||||||
lock = json.load(f)
|
lock = json.load(f)
|
||||||
|
|
||||||
hidden = [
|
hidden = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue