mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
repair advanced builder problem about spark dwine helper config shell https://gitee.com/gfdgd-xi/deep-wine-runner/issues/I8I110
This commit is contained in:
@@ -1584,9 +1584,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]}.sh")
|
||||
shutil.copy(helperConfigPath, f"{debPackagePath}/opt/deepinwine/tools/spark_run_v4_app_configs/{os.path.splitext(os.path.basename(e6_text.text()))[0]}.sh")
|
||||
else:
|
||||
shutil.copy(helperConfigPath, f"{debPackagePath}/opt/deepinwine/tools/spark_run_v4_app_configs/{e6_text.text()}.sh")
|
||||
shutil.copy(helperConfigPath, f"{debPackagePath}/opt/deepinwine/tools/spark_run_v4_app_configs/{os.path.basename(e6_text.text())}.sh")
|
||||
################
|
||||
# 修改文件权限
|
||||
################
|
||||
|
||||
Reference in New Issue
Block a user