Skip to content

Commit b95c0ea

Browse files
authored
Merge pull request #193 from patchkit-net/dev/v3.17.x.x
Release v3.17.12.1
2 parents 52fdd8d + a66497f commit b95c0ea

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Assets/PatchKit Patcher/Scripts/AppUpdater/Commands/InstallDiffCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,8 @@ private void ProcessModifiedFiles(string packageDirPath, string suffix, Temporar
533533

534534
private long GetTotalSizeModifiedFiles()
535535
{
536-
IEnumerable<string> modifiedFiles = _diffSummary.ModifiedFiles.Where(f => !_diffSummary.UnchangedFiles.Contains(f));
536+
var unchangedFiles = new HashSet<string>(_diffSummary.UnchangedFiles);
537+
var modifiedFiles = new HashSet<string>(_diffSummary.ModifiedFiles).Where(f => !unchangedFiles.Contains(f));
537538
return _contentSummary.Files.Where(f => modifiedFiles.Contains(f.Path)).Sum(f => f.Size);
538539
}
539540

Assets/PatchKit Patcher/Scripts/Version.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public static class Version
55
public const int Major = 3;
66
public const int Minor = 17;
77
public const int Patch = 12;
8-
public const int Hotfix = 0;
8+
public const int Hotfix = 1;
99

1010
public static string Value
1111
{

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [3.17.12.1]
8+
### Fixed
9+
- Crash during patching operation
10+
711
## [3.17.12.0]
812
### Fixed
913
- Displaying the progress bar for patching files for large files

0 commit comments

Comments
 (0)