mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 00:46:12 +02:00
- Preparation for release 0.0.3.1
This commit is contained in:
Binary file not shown.
@@ -2,7 +2,7 @@
|
||||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||
|
||||
#define MyAppName "DesktopMagic"
|
||||
#define MyAppVersion "0.0.3.0"
|
||||
#define MyAppVersion "0.0.3.1"
|
||||
#define MyAppPublisher "Stone_Red"
|
||||
#define MyAppExeName "DesktopMagic.exe"
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
using Stone_Red_Utilities.Logging;
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
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}}}"
|
||||
}
|
||||
};
|
||||
|
||||
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.Log("Log setup complete.", "Setup");
|
||||
}
|
||||
|
||||
@@ -90,12 +90,6 @@ namespace DesktopMagic
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!Directory.Exists(App.ApplicationDataPath))
|
||||
{
|
||||
_ = Directory.CreateDirectory(App.ApplicationDataPath);
|
||||
}
|
||||
App.Logger.Log("Created ApplicationData Folder", "Main");
|
||||
|
||||
if (!Directory.Exists(App.ApplicationDataPath + "\\Plugins"))
|
||||
{
|
||||
_ = Directory.CreateDirectory(App.ApplicationDataPath + "\\Plugins");
|
||||
|
||||
Reference in New Issue
Block a user