- Preparation for release 0.0.3.1

This commit is contained in:
Stone-Red-Code
2021-11-06 18:56:34 +01:00
parent 5e3642e539
commit 24dac76057
7 changed files with 20 additions and 9 deletions
+1
View File
@@ -12,6 +12,7 @@ obj/
*.user *.user
*.userosscache *.userosscache
*.sln.docstates *.sln.docstates
*GPUCache/
# User-specific files (MonoDevelop/Xamarin Studio) # User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs *.userprefs
+1 -1
View File
@@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "DesktopMagic" #define MyAppName "DesktopMagic"
#define MyAppVersion "0.0.3.0" #define MyAppVersion "0.0.3.1"
#define MyAppPublisher "Stone_Red" #define MyAppPublisher "Stone_Red"
#define MyAppExeName "DesktopMagic.exe" #define MyAppExeName "DesktopMagic.exe"
+16
View File
@@ -3,6 +3,7 @@
using Stone_Red_Utilities.Logging; using Stone_Red_Utilities.Logging;
using System; using System;
using System.IO;
using System.Threading; using System.Threading;
using System.Windows; using System.Windows;
@@ -117,6 +118,21 @@ namespace DesktopMagic
DebugConsoleFormat = $"> {{{LogFormatType.DateTime}:hh:mm:ss}} | {{{LogFormatType.LogSeverity},-5}} | {{{LogFormatType.Message}}}\nat {{{LogFormatType.LineNumber}}} | {{{LogFormatType.FilePath}}}" DebugConsoleFormat = $"> {{{LogFormatType.DateTime}:hh:mm:ss}} | {{{LogFormatType.LogSeverity},-5}} | {{{LogFormatType.Message}}}\nat {{{LogFormatType.LineNumber}}} | {{{LogFormatType.FilePath}}}"
} }
}; };
try
{
if (!Directory.Exists(ApplicationDataPath))
{
_ = Directory.CreateDirectory(ApplicationDataPath);
}
Logger.Log("Created ApplicationData Folder", "Main");
}
catch (Exception ex)
{
Logger.Log(ex.Message, "Setup", LogSeverity.Error);
_ = MessageBox.Show(ex.ToString());
}
Logger.ClearLogFile(LogSeverity.Info); Logger.ClearLogFile(LogSeverity.Info);
Logger.Log("Log setup complete.", "Setup"); Logger.Log("Log setup complete.", "Setup");
} }
-6
View File
@@ -90,12 +90,6 @@ namespace DesktopMagic
{ {
try try
{ {
if (!Directory.Exists(App.ApplicationDataPath))
{
_ = Directory.CreateDirectory(App.ApplicationDataPath);
}
App.Logger.Log("Created ApplicationData Folder", "Main");
if (!Directory.Exists(App.ApplicationDataPath + "\\Plugins")) if (!Directory.Exists(App.ApplicationDataPath + "\\Plugins"))
{ {
_ = Directory.CreateDirectory(App.ApplicationDataPath + "\\Plugins"); _ = Directory.CreateDirectory(App.ApplicationDataPath + "\\Plugins");
Binary file not shown.
+2 -2
View File
@@ -1,4 +1,4 @@
{ {
"Version":"0.0.2.3", "Version":"0.0.3.1",
"FileUrl":"http://github.com/Stone-Red-Code/DesktopMagic/blob/develop/update/DesktopMagic.zip?raw=true" "FileUrl":"http://github.com/Stone-Red-Code/DesktopMagic/blob/main/update/DesktopMagic.zip?raw=true"
} }