diff --git a/SparkleLib/SparkleLogger.cs b/SparkleLib/SparkleLogger.cs index cec04796..0d4d8a1e 100755 --- a/SparkleLib/SparkleLogger.cs +++ b/SparkleLib/SparkleLogger.cs @@ -77,7 +77,7 @@ namespace SparkleLib { "Remove any sensitive information like file names, IP addresses, domain names, etc. if needed." + n + n + "------" + n + n + "SparkleShare version: " + SparkleLib.SparkleBackend.Version + n + - "Operating system: " + SparkleLib.SparkleBackend.Platform + " " + Environment.OSVersion + n; + "Operating system: " + SparkleLib.SparkleBackend.Platform + " (" + Environment.OSVersion + ")" + n; crash_report += e.GetType () + ": " + e.Message + n + e.StackTrace + n; diff --git a/SparkleShare/SparkleControllerBase.cs b/SparkleShare/SparkleControllerBase.cs index 43469711..fb8d6a33 100644 --- a/SparkleShare/SparkleControllerBase.cs +++ b/SparkleShare/SparkleControllerBase.cs @@ -161,6 +161,7 @@ namespace SparkleShare { public SparkleControllerBase () { + string app_data_path = Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData); string config_path = Path.Combine (app_data_path, "sparkleshare"); @@ -172,11 +173,13 @@ namespace SparkleShare { public virtual void Initialize () { + SparkleLogger.LogInfo ("Environment", "SparkleShare version: " + SparkleLib.SparkleBackend.Version + + ", Operating system: " + SparkleLib.SparkleBackend.Platform + " (" + Environment.OSVersion + ")"); + SparklePlugin.PluginsPath = PluginsPath; InstallProtocolHandler (); try { - // Create the SparkleShare folder and add it to the bookmarks if (CreateSparkleShareFolder ()) AddToBookmarks ();