diff --git a/scripts/build-windows.py b/scripts/build-windows.py index 02181afbb0c9af7372fa6a098f0e32ba0932f4fc..6ba99c9253f2d64ffdd8ecfda91cf1ef786a7837 100644 --- a/scripts/build-windows.py +++ b/scripts/build-windows.py @@ -36,7 +36,7 @@ def build_client(parsed_args): if not os.path.exists('./x64/Release/qt.conf'): ret &= not execute_cmd( - 'powershell -ExecutionPolicy Unrestricted -File copy-runtime-files.ps1', True) + 'powershell -ExecutionPolicy Unrestricted -File copy-runtime-files.ps1' + ' "Release" ' + '"' + parsed_args.qtver + '"', True) return ret def parse_args():