mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
try: specify hidden import
This commit is contained in:
@@ -59,6 +59,7 @@ def handle_build(*args, **kwargs):
|
|||||||
_s = ";" if is_windows() else ":"
|
_s = ";" if is_windows() else ":"
|
||||||
|
|
||||||
flask_openapi_path = getFlaskOpenApiPath()
|
flask_openapi_path = getFlaskOpenApiPath()
|
||||||
|
server_module = "waitress" if is_windows() else "bjoern"
|
||||||
|
|
||||||
bundler.run(
|
bundler.run(
|
||||||
[
|
[
|
||||||
@@ -71,6 +72,7 @@ def handle_build(*args, **kwargs):
|
|||||||
f"--add-data=client{_s}client",
|
f"--add-data=client{_s}client",
|
||||||
f"--add-data=version.txt{_s}.",
|
f"--add-data=version.txt{_s}.",
|
||||||
f"--add-data={flask_openapi_path}/templates/static{_s}flask_openapi3/templates/static",
|
f"--add-data={flask_openapi_path}/templates/static{_s}flask_openapi3/templates/static",
|
||||||
|
f"--hidden-import={server_module}",
|
||||||
"--icon=assets/logo-fill.light.ico",
|
"--icon=assets/logo-fill.light.ico",
|
||||||
"-y",
|
"-y",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user