diff --git a/static/build_files/windows/client-win.spec b/static/build_files/windows/client-win.spec index ed1a607c..03468856 100644 --- a/static/build_files/windows/client-win.spec +++ b/static/build_files/windows/client-win.spec @@ -2,10 +2,12 @@ import cloudscraper import cv2 +import shiboken2 import os import glob cloudscraper_dir = os.path.dirname( cloudscraper.__file__ ) cv2_ffmpeg_dll = glob.glob(os.path.dirname( cv2.__file__ )+"/*.dll")[0] +shiboken_dir = os.path.join( os.path.dirname( shiboken2.__file__ ), 'files.dir' ) block_cipher = None @@ -26,6 +28,7 @@ a = Analysis(['hydrus\\client.pyw'], ('hydrus\\sqlite3.dll', '.'), ('hydrus\\mpv-1.dll', '.'), (cloudscraper_dir, 'cloudscraper'), + (shiboken_dir, 'shiboken2\\files.dir'), (cv2_ffmpeg_dll, '.') ], hiddenimports=['hydrus\\server.py', 'cloudscraper'],