From 03a791f6c07f57ba47315b4b8b4695be63c12068 Mon Sep 17 00:00:00 2001 From: nozwock <57829219+nozwock@users.noreply.github.com> Date: Wed, 2 Aug 2023 05:34:01 +0530 Subject: [PATCH] Add multiprocessing freeze support for windows https://docs.python.org/3/library/multiprocessing.html#multiprocessing.freeze_support --- spotdl_gui/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spotdl_gui/app.py b/spotdl_gui/app.py index 1aef630..8186147 100644 --- a/spotdl_gui/app.py +++ b/spotdl_gui/app.py @@ -411,6 +411,10 @@ def set_output_dir(self, dir: Path | str) -> None: def main() -> None: + from multiprocessing import freeze_support + + freeze_support() + app = QtWidgets.QApplication(sys.argv) qdarktheme.setup_theme()