mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
v0.8.4.1
* (Add) Tool - Modify print parameters: Value unit to confirmation text * (Change) Tool - Modify print parameters: Maximum allowed exposure times from 255s to 1000s (#69) * (Change) On operations, instead of partial backup a whole backup is made, this allow cancel operations which changes layer count and other structure changes * (Improvement) PrusaSlicer profile manager: Files are now checked against checksum instead write time to prevent trigger an false update when using MSI installer * (Fix) Tool - Layer Import: Allow cancel operation * (Fix) Tool - Layer Import: When importing layers that increase the total layer count of the file program stays forever on progress * (Fix) Tool - Layer Clone: Layer information was the same as heights, fixed to show the result of operation in layers * (Fix) Tool - Pattern: Unable to use an anchor
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using UVtools.Core.Objects;
|
||||
|
||||
namespace UVtools.GUI.Forms
|
||||
{
|
||||
@@ -53,7 +55,8 @@ namespace UVtools.GUI.Forms
|
||||
if (targetFileInfo.Exists)
|
||||
{
|
||||
installedCount++;
|
||||
if (targetFileInfo.Length != fileInfo.Length || targetFileInfo.LastWriteTime != fileInfo.LastWriteTime)
|
||||
if (targetFileInfo.Length != fileInfo.Length || !StaticObjects.GetHashSha256(targetFileInfo.FullName).SequenceEqual(StaticObjects.GetHashSha256(fileInfo.FullName)))
|
||||
//if (targetFileInfo.Length != fileInfo.Length || targetFileInfo.LastWriteTime != fileInfo.LastWriteTime)
|
||||
{
|
||||
item.ForeColor = Color.Red;
|
||||
item.Checked = true;
|
||||
|
||||
Reference in New Issue
Block a user