Skip to content

Commit

Permalink
Add multiprocessing freeze support for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nozwock committed Aug 2, 2023
1 parent 0ed155c commit 03a791f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spotdl_gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 03a791f

Please sign in to comment.