From 88acc480158fd73427f24cef71afca902f47c2fa Mon Sep 17 00:00:00 2001 From: RX6900XT Date: Thu, 15 Dec 2022 10:07:32 +0000 Subject: [PATCH 1/2] =?UTF-8?q?update=20spark-dwine-helper/s-wine-helper/d?= =?UTF-8?q?eepinwine/tools/spark=5Frun=5Fv4.sh.=20=E4=BF=AE=E6=AD=A3eCloud?= =?UTF-8?q?=E7=BB=93=E6=9D=9F=E6=97=B6=E5=BC=80=E5=90=AF=E6=96=87=E5=AD=97?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RX6900XT --- .../s-wine-helper/deepinwine/tools/spark_run_v4.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh b/spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh index 2caf063..3048feb 100755 --- a/spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh +++ b/spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh @@ -159,6 +159,13 @@ CallProcess() ###有设置mimetype和自动启动(这个暂时没分析)的功能 ###########专属优化段: + +CalleCloud() +{ + DisableWrite ${WINEPREFIX}/drive_c/users/${USER}/Temp + CallProcess "$@" +} + CallDouyin() { if [ -f "${WINEPREFIX}/drive_c/users/${USER}/Application Data/douyin" ]; then @@ -519,10 +526,14 @@ CallApp() "Spark-douyin") CallDouyin "$@" ;; + "Spark-ecloud") + CalleCloud "$@" + ;; + *) "IE8") CallIE8 "$@" ;; - *) + *) CallProcess "$@" ;; esac -- Gitee From 1dd8abe2c6afe31f89e53ce8c749149d52c77ff7 Mon Sep 17 00:00:00 2001 From: RX6900XT Date: Thu, 15 Dec 2022 10:35:58 +0000 Subject: [PATCH 2/2] update spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh. Signed-off-by: RX6900XT --- .../s-wine-helper/deepinwine/tools/spark_run_v4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh b/spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh index 3048feb..f1e4c40 100755 --- a/spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh +++ b/spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh @@ -162,7 +162,7 @@ CallProcess() CalleCloud() { - DisableWrite ${WINEPREFIX}/drive_c/users/${USER}/Temp + chmod 000 ${WINEPREFIX}/drive_c/users/${USER}/Temp CallProcess "$@" } -- Gitee