Skip to content

Commit b487406

Browse files
Szczyrkwitcher112
andauthored
Bugfix/v3.17.x.x/ information about size of file at installation (#166)
* Fixed information about size of file at installation * Update version and changelog * Update CHANGELOG.md Co-authored-by: Jakub Szczyrk <Jakub Szczyrk> Co-authored-by: Tomasz Jaworski <[email protected]>
1 parent f12b7f1 commit b487406

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public override void Execute(CancellationToken cancellationToken)
143143
string nameHash;
144144
if (mapHashExtractedFiles.TryGetHash(filePath, out nameHash))
145145
{
146-
var sourceFile = new SourceFile(filePath, packageDir.Path, usedSuffix, nameHash, _versionContentSummary.Size);
146+
var sourceFile = new SourceFile(filePath, packageDir.Path, usedSuffix, nameHash, _versionContentSummary.Files[i].Size);
147147

148148
if (unarchiver.HasErrors && !sourceFile.Exists()) // allow unexistent file only if does not have errors
149149
{

Assets/PatchKit Patcher/Scripts/Version.cs

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

1010
public static string Value

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.9.0]
8+
### Fixed
9+
- Wrong information about file size during installation
10+
711
## [3.17.8.0]
812
### Fixed
913
- Processing patched diff files

0 commit comments

Comments
 (0)