Update to .NET 5
This commit is contained in:
parent
44b80b9707
commit
cf732fac93
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -146,7 +146,8 @@ namespace BackupManager {
|
|||
Log($@"MariaDB dump done.");
|
||||
File.Delete(sqldefaults);
|
||||
|
||||
if (Directory.Exists(Config.MisuzuPath)) {
|
||||
if (!string.IsNullOrWhiteSpace(Config.MisuzuPath)
|
||||
&& Directory.Exists(Config.MisuzuPath)) {
|
||||
Log(@"Filesystem backup...");
|
||||
string mszConfig = Path.Combine(Config.MisuzuPath, @"config/config.ini");
|
||||
|
||||
|
|
Reference in a new issue