Skip to content

Commit

Permalink
Fix pyinstaller build not finding gclib module
Browse files Browse the repository at this point in the history
  • Loading branch information
LagoLunatic committed Jul 25, 2023
1 parent 5910245 commit 2b8332a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wwrando.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ def build_datas_recursive(paths):

return datas

import sys
def get_hidden_imports():
import_modules = []

sys.path.insert(0, "./gclib")
import gclib
for module_name in gclib.__all__:
import_modules.append(f"gclib.{module_name}")
Expand Down

0 comments on commit 2b8332a

Please sign in to comment.