From ef2f8592ae3cb821873301f81f6a5521aee5c0d9 Mon Sep 17 00:00:00 2001 From: shenmo Date: Thu, 31 Aug 2023 11:05:09 +0000 Subject: [PATCH] update spark-dwine-helper/s-wine-helper/deepinwine/tools/spark_run_v4.sh. Signed-off-by: shenmo --- .../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 3ad10b8..34bf6ad 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 @@ -149,7 +149,7 @@ CallProcess() # Disable winemenubuilder env WINEPREFIX="$WINEPREFIX" $WINE_CMD reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v winemenubuilder.exe /f # 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 else