diff --git a/SafeExamBrowser.Core/Behaviour/StartupController.cs b/SafeExamBrowser.Core/Behaviour/StartupController.cs
index 45481a61..f71015e3 100644
--- a/SafeExamBrowser.Core/Behaviour/StartupController.cs
+++ b/SafeExamBrowser.Core/Behaviour/StartupController.cs
@@ -90,8 +90,11 @@ namespace SafeExamBrowser.Core.Behaviour
var githubLine = $"/* Please visit https://github.com/SafeExamBrowser for more information.";
logger.Log($"{titleLine}{copyrightLine}{emptyLine}{githubLine}");
- logger.Log($"{Environment.NewLine}# Application started at {DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff")}");
- logger.Log($"# Running on {systemInfo.OperatingSystemInfo}{Environment.NewLine}");
+ logger.Log(string.Empty);
+ logger.Log($"# Application started at {DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff")}");
+ logger.Log($"# Running on {systemInfo.OperatingSystemInfo}");
+ logger.Log(string.Empty);
+
logger.Info("--- Initiating startup procedure ---");
splashScreen = uiFactory.CreateSplashScreen(settings, text);
diff --git a/SafeExamBrowser.UserInterface/LogWindow.xaml b/SafeExamBrowser.UserInterface/LogWindow.xaml
index 8a3f0a15..95a7a812 100644
--- a/SafeExamBrowser.UserInterface/LogWindow.xaml
+++ b/SafeExamBrowser.UserInterface/LogWindow.xaml
@@ -12,7 +12,7 @@
-
+
diff --git a/SafeExamBrowser.UserInterface/Taskbar.xaml b/SafeExamBrowser.UserInterface/Taskbar.xaml
index 83660165..77854aeb 100644
--- a/SafeExamBrowser.UserInterface/Taskbar.xaml
+++ b/SafeExamBrowser.UserInterface/Taskbar.xaml
@@ -6,7 +6,7 @@
xmlns:local="clr-namespace:SafeExamBrowser.UserInterface.Controls"
xmlns:s="clr-namespace:System;assembly=mscorlib"
mc:Ignorable="d"
- Title="Taskbar" Height="40" Width="750" WindowStyle="None" AllowsTransparency="True" Topmost="True" Visibility="Visible"
+ Title="Taskbar" Height="40" Width="750" WindowStyle="None" AllowsTransparency="True" Topmost="True" Visibility="Collapsed"
ResizeMode="NoResize" Icon="./Images/SafeExamBrowser.ico">
diff --git a/SafeExamBrowser.UserInterface/ViewModels/LogViewModel.cs b/SafeExamBrowser.UserInterface/ViewModels/LogViewModel.cs
index 6a5fd26f..f7b96a10 100644
--- a/SafeExamBrowser.UserInterface/ViewModels/LogViewModel.cs
+++ b/SafeExamBrowser.UserInterface/ViewModels/LogViewModel.cs
@@ -7,6 +7,7 @@
*/
using System;
+using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
@@ -50,7 +51,18 @@ namespace SafeExamBrowser.UserInterface.ViewModels
private void AppendLogText(ILogText logText)
{
- textBlock.Dispatcher.Invoke(() => textBlock.Inlines.Add(new Run($"{logText.Text}{Environment.NewLine}")));
+ textBlock.Dispatcher.Invoke(() =>
+ {
+ var isHeader = logText.Text.StartsWith("/* ");
+ var isComment = logText.Text.StartsWith("# ");
+ var brush = isHeader || isComment ? Brushes.ForestGreen : textBlock.Foreground;
+
+ textBlock.Inlines.Add(new Run($"{logText.Text}{Environment.NewLine}")
+ {
+ FontWeight = isHeader ? FontWeights.Bold : FontWeights.Normal,
+ Foreground = brush
+ });
+ });
}
private void AppendLogMessage(ILogMessage message)
diff --git a/SafeExamBrowser/Properties/AssemblyInfo.cs b/SafeExamBrowser/Properties/AssemblyInfo.cs
index 372c1fc5..f6b821e5 100644
--- a/SafeExamBrowser/Properties/AssemblyInfo.cs
+++ b/SafeExamBrowser/Properties/AssemblyInfo.cs
@@ -48,4 +48,4 @@ using System.Windows;
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.0.0")]
[assembly: AssemblyFileVersion("3.0.0")]
-[assembly: AssemblyInformationalVersion("3.0.0 (beta)")]
+[assembly: AssemblyInformationalVersion("3.0.0 (alpha)")]