diff --git a/res/windows/makepri/images/Square44x44Logo.scale-400.png b/res/windows/makepri/images/Square44x44Logo.scale-400.png index 8d9daa45da9..4d1fe40cd91 100644 Binary files a/res/windows/makepri/images/Square44x44Logo.scale-400.png and b/res/windows/makepri/images/Square44x44Logo.scale-400.png differ diff --git a/src/BD.WTTS.Client/Migrations/Migrations.cs b/src/BD.WTTS.Client/Migrations/Migrations.cs index ba4df84325e..832150713c2 100644 --- a/src/BD.WTTS.Client/Migrations/Migrations.cs +++ b/src/BD.WTTS.Client/Migrations/Migrations.cs @@ -67,16 +67,23 @@ static void MoveDirByScripts(string rootPath, string? newDirName = null) { try { - var oldPath = Path.Combine(rootPath, DirName_Scripts); - if (Directory.Exists(oldPath)) + var newPath = Path.Combine(rootPath, + AssemblyInfo.Plugins, + AssemblyInfo.Accelerator, + newDirName ?? DirName_Scripts); + if (!Directory.Exists(newPath)) { - var newPath = Path.Combine(rootPath, AssemblyInfo.Plugins, AssemblyInfo.Accelerator, newDirName ?? DirName_Scripts); - Directory.Move(oldPath, newPath); + var oldPath = Path.Combine(rootPath, DirName_Scripts); + if (Directory.Exists(oldPath)) + { + Directory.Move(oldPath, newPath); + } } } catch (Exception e) { - Log.Error(nameof(Migrations), e, "MoveDirByScriptsFail, rootPath: {rootPath}", rootPath); + Log.Error(nameof(Migrations), e, + "MoveDirByScriptsFail, rootPath: {rootPath}", rootPath); } } } \ No newline at end of file