Skip to content

Commit ad65693

Browse files
committed
Hotfix to v3.6
1 parent e5e7540 commit ad65693

8 files changed

Lines changed: 17 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Hashing Changelog
1+
## [3.6] - 2023-01-06
2+
- Hotfix: DPI scaling now works properly
3+
- Security: Newtonsoft.JSON updated to latest version
24

35
## [3.5] - 2022-10-19
46
- New: Show File request in Find Identicals (#24)

Hashing/Forms/IdenticalsForm.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ private void boxSelectHash_SelectedIndexChanged(object sender, EventArgs e)
316316
SumView.Nodes.Clear();
317317

318318
_helper = $"{boxSelectHash.SelectedItem}: ";
319-
SumResult tmp;
320319

321320
switch (boxSelectHash.SelectedItem.ToString())
322321
{

Hashing/Hashing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<HintPath>..\packages\Crc32.NET.1.2.0\lib\net20\Crc32.NET.dll</HintPath>
4343
</Reference>
4444
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
45-
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
45+
<HintPath>..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
4646
</Reference>
4747
<Reference Include="System" />
4848
<Reference Include="System.Core" />

Hashing/Newtonsoft.Json.dll

9.73 KB
Binary file not shown.

Hashing/Program.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ static class Program
1212

1313
// Enter current version here
1414
internal readonly static float Major = 3;
15-
internal readonly static float Minor = 5;
15+
internal readonly static float Minor = 6;
1616

1717
/* END OF VERSION PROPERTIES */
1818

@@ -30,9 +30,14 @@ internal static float GetCurrentVersion()
3030
internal static Mutex MUTEX;
3131
static bool _notRunning;
3232

33+
[System.Runtime.InteropServices.DllImport("user32.dll")]
34+
private static extern bool SetProcessDPIAware();
35+
3336
[STAThread]
3437
static void Main(string[] args)
3538
{
39+
if (Environment.OSVersion.Version.Major >= 6) SetProcessDPIAware();
40+
3641
Application.EnableVisualStyles();
3742
Application.SetCompatibleTextRenderingDefault(false);
3843

Hashing/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Crc32.NET" version="1.2.0" targetFramework="net452" />
4-
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net452" />
4+
<package id="Newtonsoft.Json" version="13.0.2" targetFramework="net452" />
55
</packages>

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Simple utility to calculate and compare hashes of multiple files
88
<p align="center">
9-
<a href="https://github.com/hellzerg/hashing/releases/download/3.5/Hashing-3.5.exe" target="_blank">
9+
<a href="https://github.com/hellzerg/hashing/releases/download/3.6/Hashing-3.6.exe" target="_blank">
1010
<img src="download-button.png">
1111
</a>
1212
</p>
@@ -50,13 +50,14 @@ https://github.com/hellzerg/hashing/blob/master/IMAGES.md
5050

5151
* .NET Framework 4.5.2
5252
* Compatible with Windows 7, 8, 8.1, 10, 11
53+
* Works with Windows Server 2012 and newer
5354
* Does not work with Windows XP or Vista
5455

5556
## Credits: ##
5657
* Much appreciation to https://github.com/dariogriffo/sha3.net for SHA3 algorithms library
5758

5859
## Details: ##
5960

60-
* Latest version: 3.5
61-
* Released: October 19, 2022
62-
* SHA256: 70934C870A61F5BA60A2C0934B5523C52FEA81180F76B7868727E97EF46AB584
61+
* Latest version: 3.6
62+
* Released: January 6, 2023
63+
* SHA256: 972212768C431632852CC85661D7E7782CD9458769FE35A812F8C8B749BC9B6B

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.5
1+
3.6

0 commit comments

Comments
 (0)