From c4aeb673fd649d6edf9f8eeabb951c1d69947288 Mon Sep 17 00:00:00 2001 From: DLmaster Date: Sat, 12 Apr 2025 09:38:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E6=81=A2=E5=A4=8D=E5=8D=95=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=89=93=E5=8C=85=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/utils/package.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/utils/package.py b/app/utils/package.py index fac3e04..c95b010 100644 --- a/app/utils/package.py +++ b/app/utils/package.py @@ -68,8 +68,9 @@ if __name__ == "__main__": print("Packaging AUTO_MAA main program ...") os.system( - "powershell -Command python -m nuitka --standalone --mingw64" + "powershell -Command python -m nuitka --standalone --onefile --mingw64" " --enable-plugins=pyside6 --windows-console-mode=disable" + " --onefile-tempdir-spec='{TEMP}\\AUTO_MAA'" " --windows-icon-from-ico=resources\\icons\\AUTO_MAA.ico" " --company-name='AUTO_MAA Team' --product-name=AUTO_MAA" f" --file-version={version["main_version"]}" @@ -86,8 +87,9 @@ if __name__ == "__main__": shutil.copy(root_path / "app/utils/downloader.py", root_path) os.system( - "powershell -Command python -m nuitka --standalone --mingw64" + "powershell -Command python -m nuitka --standalone --onefile --mingw64" " --enable-plugins=pyside6 --windows-console-mode=disable" + " --onefile-tempdir-spec='{TEMP}\\AUTO_MAA_Updater'" " --windows-icon-from-ico=resources\\icons\\AUTO_MAA_Updater.ico" " --company-name='AUTO_MAA Team' --product-name=AUTO_MAA" f" --file-version={version["updater_version"]}"