From 2eb539ca86b221ccaa003b9954674d79553eac27 Mon Sep 17 00:00:00 2001 From: archibate <1931127624@qq.com> Date: Sun, 8 Aug 2021 12:07:01 +0800 Subject: [PATCH] fix win spec --- dist.py | 2 +- scripts/launcher_win.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist.py b/dist.py index a12565806f..a0f7d4366b 100755 --- a/dist.py +++ b/dist.py @@ -13,5 +13,5 @@ else: raise AssertionError(sys.platform) -subprocess.check_call([sys.executable, '-m', 'PyInstaller', 'scripts/launcher_{}.spec'.format(os_name)]) +subprocess.check_call([sys.executable, '-m', 'PyInstaller', 'scripts/launcher_{}.spec'.format(os_name)] + sys.argv[1:]) shutil.make_archive('dist/launcher', 'zip', 'dist/launcher') diff --git a/scripts/launcher_win.spec b/scripts/launcher_win.spec index 4dd982d143..e66cdaf0fa 100644 --- a/scripts/launcher_win.spec +++ b/scripts/launcher_win.spec @@ -4,7 +4,7 @@ block_cipher = None dlls=[ - ( '../zenqt/lib/*', '.' ), + ( '../zenqt/lib/*.dll', 'zenqt/lib' ), ] assets=[ ( '../zenqt/assets/*', 'zenqt/assets' ),