From 0de3547af04f682f3934711cefd5120b68186c65 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Wed, 26 Jul 2023 22:55:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deepin-wine-packager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deepin-wine-packager.py b/deepin-wine-packager.py index 24de5c2..cb87baa 100755 --- a/deepin-wine-packager.py +++ b/deepin-wine-packager.py @@ -1564,9 +1564,9 @@ StartupNotify=false if helperConfigPath != None and helperConfigPath != "": os.makedirs(f"{debPackagePath}/opt/deepinwine/tools/spark_run_v4_app_configs") if e6_text.text()[-3: ] == ".7z": - shutil.copy(helperConfigPath, f"{debPackagePath}/opt/deepinwine/tools/spark_run_v4_app_configs/{os.path.splitext(e6_text.text())[0]}") + shutil.copy(helperConfigPath, f"{debPackagePath}/opt/deepinwine/tools/spark_run_v4_app_configs/{os.path.splitext(e6_text.text())[0]}.sh") else: - shutil.copy(helperConfigPath, f"{debPackagePath}/opt/deepinwine/tools/spark_run_v4_app_configs/{e6_text.text()}") + shutil.copy(helperConfigPath, f"{debPackagePath}/opt/deepinwine/tools/spark_run_v4_app_configs/{e6_text.text()}.sh") ################ # 修改文件权限 ################