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:
@@ -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
|
||||||
|
|||||||
Binary file not shown.
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user