Compare commits

...

6 Commits
1.7.4 ... 1.8

Author SHA1 Message Date
75df70235a Unix转Dos路径,修复部分应用不支持Linux路径(跟进 deepin-wine-helper) 2022-10-13 22:52:30 +08:00
c7f510202d 错别字
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2022-10-11 12:34:35 +00:00
de07b48d36 Deepin-QQ-Spark 优化段加入 2022-10-11 15:58:21 +08:00
18fed0ace9 update spark-dwine-helper/build.sh.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2022-10-08 11:51:46 +00:00
b4e5f8d74f IE8 优化段 新增 2022-10-01 23:34:56 +08:00
RX6900XT
452caaa5da !11 加入tim
* update spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh.
2022-09-29 03:12:29 +00:00
2 changed files with 34 additions and 7 deletions

View File

@@ -30,6 +30,7 @@ Section: utils
Priority: extra
Recommends: spark-dwine-helper-settings
Multi-Arch: foreign
Provides: store.spark-app.spark-dwine-helper(=$version)
Replaces: store.spark-app.spark-dwine-helper(<=$version)
Homepage: https://gitee.com/deepin-community-store/spark-wine
Description: Spark Deepin Wine Helper

View File

@@ -142,7 +142,7 @@ CallProcess()
if [ -n "$MIME_TYPE" ]; then
xdg-mime default "$DEB_PACKAGE_NAME".desktop "$MIME_TYPE"
fi
# Unuse winemenubuilder
# Disable winemenubuilder
env WINEPREFIX="$WINEPREFIX" $WINE_CMD reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v winemenubuilder.exe /f
debug_log_to_file "Starting process $* ..."
############# WARNING: Here is the modified content: Now will run set-dwine-scale.sh
@@ -391,6 +391,8 @@ CallQQGameV2()
CallProcess "$1" -action:force_download -appid:${2} -pid:8 -bin_version:1.1.2.4 -loginuin:
}
CallPsCs6()
{
#get file full path
@@ -417,13 +419,30 @@ CallPsCs6()
CallProcess "$@"
}
CallIE8()
{
rm -f "$WINEPREFIX/system.reg"
cp $APPDIR/system.reg "$WINEPREFIX/system.reg"
CallProcess "$@"
}
#####专属优化段结束
UnixUriToDosPath()
{
OPEN_FILE="$1"
if [ -f "$OPEN_FILE" ]; then
OPEN_FILE=$(realpath "$OPEN_FILE")
OPEN_FILE="z:$OPEN_FILE"
OPEN_FILE=$(echo $OPEN_FILE | sed -e 's/\//\\\\/g')
fi
echo $OPEN_FILE
}
#arg 1: exec file path
#arg 2: autostart ,or exec arg 1
#arg 3: exec arg 2
#### CallApp段根据容器名找专属优化没有就走通用启动
CallApp()
{
@@ -437,10 +456,10 @@ CallApp()
"Deepin-ZhuMu")
CallZhuMu "$@"
;;
"Deepin-QQ"|"Wine-QQ"|"Spark-QQ")
"Deepin-QQ"|"Wine-QQ"|"Spark-QQ"|"Deepin-QQ-Spark")
CallQQ "$@"
;;
"Deepin-TIM")
"Deepin-TIM"|"Spark-TIM")
CallTIM "$@"
;;
"Deepin-QQGame"*)
@@ -500,6 +519,9 @@ CallApp()
"Spark-douyin")
CallDouyin "$@"
;;
"IE8")
CallIE8 "$@"
;;
*)
CallProcess "$@"
;;
@@ -589,10 +611,14 @@ ParseArgs()
{
if [ $# -eq 4 ];then
RunApp "$3"
elif [ $# -eq 5 ];then
RunApp "$3" "$5"
elif [ -f "$5" ];then
if [ -n "$MIME_EXEC" ];then
RunApp "$MIME_EXEC" "$(UnixUriToDosPath "$5")" "${@:6}"
else
RunApp "$3" "$(UnixUriToDosPath "$5")" "${@:6}"
fi
else
RunApp "$3" "$5" "$6"
RunApp "$3" "${@:5}"
fi
}