update spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh.

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2023-08-31 11:05:09 +00:00
committed by Gitee
parent 7315456776
commit ef2f8592ae

View File

@@ -149,7 +149,7 @@ CallProcess()
# Disable winemenubuilder # Disable winemenubuilder
env WINEPREFIX="$WINEPREFIX" $WINE_CMD reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v winemenubuilder.exe /f env WINEPREFIX="$WINEPREFIX" $WINE_CMD reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v winemenubuilder.exe /f
# Link to Document # Link to Document
if [ -L "$WINEPREFIX/drive_c/users/$(logname)/My Documents" ]; then if [ -L "$WINEPREFIX/drive_c/users/$(whoami)/My Documents" ]; then
env WINEPREFIX="$WINEPREFIX" $WINE_CMD reg add 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders' /t REG_EXPAND_SZ /v Personal /d "%USERPROFILE%\My Documents" /f env WINEPREFIX="$WINEPREFIX" $WINE_CMD reg add 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders' /t REG_EXPAND_SZ /v Personal /d "%USERPROFILE%\My Documents" /f
else else