From a3d385517728ac2f00ff0f31807232ded58364af Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Mon, 11 Sep 2023 12:31:15 +0200 Subject: [PATCH] hide seafile main window --- tools/logon.cmd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/logon.cmd b/tools/logon.cmd index cea49c6..72fd79d 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -330,6 +330,10 @@ if seafile_domain == 0 ( /v "PreconfigureUsername" /d "%USERNAME%@%seafile_domain%" /t REG_SZ /f 1>nul reg add "HKCU\SOFTWARE\SeaFile" ^ /v "PreconfigureUserToken" /d "dummy" /t REG_SZ /f 1>nul + + rem hide seafile main window ... + reg add "HKCU\SOFTWARE\SeaFile\Seafile Client\Behavior" ^ + /v "hideMainWindowWhenStarted" /d "true" /t REG_SZ /f 1>nul ) :SEAFILE_DONE