Seafile client remaps Desktop #70

This commit is contained in:
Michael H.G. Schmidt 2022-12-18 16:23:03 +01:00
parent 975dbba88f
commit 30e8615229

View File

@ -12,6 +12,7 @@ set EMLICENSE_DONE=%LOCALAPPDATA%\.emlicense_done
set STARTMENU=%APPDATA%\"Microsoft\Windows\Start Menu\Programs"
set STARTMENU_PUBLIC=%PROGRAMDATA%\"Microsoft\Windows\Start Menu\Programs"
rem ===================
rem DEFAULTS
rem ===================
@ -26,6 +27,7 @@ set emclient_license=0
echo ####### %0 #######
rem ===================
rem CONFIGFILE CHECKS
rem ===================
@ -47,6 +49,7 @@ if NOT EXIST %COMPANY_SETTINGS% (
call %COMPANY_SETTINGS%
)
rem ===================
rem EMCLIENT LICENSING
rem ===================
@ -73,6 +76,7 @@ if %emclient_license% == 0 (
:EMCLIENT_END
rem ================================================
rem GENERIC SETTINGS FOR THE USER (this runs always)
rem ================================================
@ -94,6 +98,7 @@ echo remapping Desktop folder to standard location ...
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" ^
/v Desktop /t REG_EXPAND_SZ /d "%%USERPROFILE%%\Desktop" /f 1>nul
rem ================================================
rem USER TWEAKS AND CONFIG FILES (this runs always)
rem ================================================
@ -220,6 +225,7 @@ echo 1 >%USERCONFIG_DONE%
:USERTWEAKS_DONE
rem ========================================
rem ACCOUNT CLEANUP AND FIXES (runs always)
rem ========================================
@ -278,8 +284,7 @@ echo.
rem WARNING!
rem DO NOT remove the "PICTURES" folder!
rem this is used by the snipping tool!
rem this is used and needed by the snipping tool!
echo Cleaning users home directory ...
echo ########################################