Skip to content

Commit

Permalink
Hotfix to v3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hellzerg committed Jan 6, 2023
1 parent e5e7540 commit ad65693
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 10 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hashing Changelog
## [3.6] - 2023-01-06
- Hotfix: DPI scaling now works properly
- Security: Newtonsoft.JSON updated to latest version

## [3.5] - 2022-10-19
- New: Show File request in Find Identicals (#24)
Expand Down
1 change: 0 additions & 1 deletion Hashing/Forms/IdenticalsForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ private void boxSelectHash_SelectedIndexChanged(object sender, EventArgs e)
SumView.Nodes.Clear();

_helper = $"{boxSelectHash.SelectedItem}: ";
SumResult tmp;

switch (boxSelectHash.SelectedItem.ToString())
{
Expand Down
2 changes: 1 addition & 1 deletion Hashing/Hashing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<HintPath>..\packages\Crc32.NET.1.2.0\lib\net20\Crc32.NET.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
Binary file modified Hashing/Newtonsoft.Json.dll
Binary file not shown.
7 changes: 6 additions & 1 deletion Hashing/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ static class Program

// Enter current version here
internal readonly static float Major = 3;
internal readonly static float Minor = 5;
internal readonly static float Minor = 6;

/* END OF VERSION PROPERTIES */

Expand All @@ -30,9 +30,14 @@ internal static float GetCurrentVersion()
internal static Mutex MUTEX;
static bool _notRunning;

[System.Runtime.InteropServices.DllImport("user32.dll")]
private static extern bool SetProcessDPIAware();

[STAThread]
static void Main(string[] args)
{
if (Environment.OSVersion.Version.Major >= 6) SetProcessDPIAware();

Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

Expand Down
2 changes: 1 addition & 1 deletion Hashing/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Crc32.NET" version="1.2.0" targetFramework="net452" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net452" />
<package id="Newtonsoft.Json" version="13.0.2" targetFramework="net452" />
</packages>
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

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

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

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

## Details: ##

* Latest version: 3.5
* Released: October 19, 2022
* SHA256: 70934C870A61F5BA60A2C0934B5523C52FEA81180F76B7868727E97EF46AB584
* Latest version: 3.6
* Released: January 6, 2023
* SHA256: 972212768C431632852CC85661D7E7782CD9458769FE35A812F8C8B749BC9B6B
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5
3.6

0 comments on commit ad65693

Please sign in to comment.