Restore SEBPatch
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2024 ETH Zürich, IT Services
|
||||
* Copyright (c) 2025 ETH Zürich, IT Services
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
@@ -115,6 +115,7 @@ namespace SafeExamBrowser.Runtime
|
||||
logger.Log(string.Empty);
|
||||
logger.Subscribe(runtimeWindow);
|
||||
splashScreen.Hide();
|
||||
|
||||
StartSession();
|
||||
}
|
||||
else
|
||||
@@ -204,8 +205,13 @@ namespace SafeExamBrowser.Runtime
|
||||
|
||||
runtimeWindow.ShowProgressBar = false;
|
||||
runtimeWindow.ShowLog = Session.Settings.Security.AllowApplicationLogAccess;
|
||||
runtimeWindow.TopMost = false;
|
||||
runtimeWindow.TopMost = Session.Settings.Security.KioskMode != KioskMode.None;
|
||||
runtimeWindow.UpdateStatus(TextKey.RuntimeWindow_ApplicationRunning);
|
||||
|
||||
//if (Session.Settings.Security.KioskMode == KioskMode.DisableExplorerShell)
|
||||
//{
|
||||
// runtimeWindow.Hide();
|
||||
//}
|
||||
runtimeWindow.Hide();
|
||||
}
|
||||
|
||||
@@ -236,10 +242,11 @@ namespace SafeExamBrowser.Runtime
|
||||
runtimeWindow.UpdateStatus(TextKey.RuntimeWindow_ApplicationRunning);
|
||||
runtimeWindow.TopMost = Session.Settings.Security.KioskMode != KioskMode.None;
|
||||
|
||||
if (Session.Settings.Security.KioskMode == KioskMode.DisableExplorerShell)
|
||||
{
|
||||
runtimeWindow.Hide();
|
||||
}
|
||||
//if (Session.Settings.Security.KioskMode == KioskMode.DisableExplorerShell)
|
||||
//{
|
||||
// runtimeWindow.Hide();
|
||||
//}
|
||||
runtimeWindow.Hide();
|
||||
|
||||
sessionContext.ClientProxy.InformReconfigurationAborted();
|
||||
}
|
||||
|
Reference in New Issue
Block a user