Skip to content

Commit

Permalink
add .asc file extension back
Browse files Browse the repository at this point in the history
  • Loading branch information
gurnec committed Aug 25, 2016
1 parent 7d22d7f commit c77a856
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions installer/HashCheck.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Unicode true

Name "HashCheck"
OutFile "HashCheckSetup-v2.4.0.36-beta.exe"
OutFile "HashCheckSetup-v2.4.0.37-beta.exe"

RequestExecutionLevel admin
ManifestSupportedOS all
Expand Down Expand Up @@ -53,15 +53,15 @@ FunctionEnd
!insertmacro MUI_LANGUAGE "Ukrainian"
!insertmacro MUI_LANGUAGE "Catalan"

VIProductVersion "2.4.0.36-beta"
VIProductVersion "2.4.0.37-beta"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "HashCheck Shell Extension"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "2.4.0.36-beta"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "2.4.0.37-beta"
VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "Installer distributed from https://github.com/gurnec/HashCheck/releases"
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" ""
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" ""
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright © Kai Liu, Christopher Gurnee, Tim Schlueter, et al. All rights reserved."
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Installer (x86/x64) from https://github.com/gurnec/HashCheck/releases"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "2.4.0.36-beta"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "2.4.0.37-beta"

; With solid compression, files that are required before the
; actual installation should be stored first in the data block,
Expand Down
5 changes: 3 additions & 2 deletions libs/WinHash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
// Macro to populate the extensions table. E.g. HASH_EXT_MD5,
#define HASH_EXT_op(alg) HASH_EXT_##alg,

// Table of supported Hash file extensions
LPCTSTR g_szHashExtsTab[NUM_HASHES] = {
// Table of supported Hash file extensions, plus .asc
LPCTSTR g_szHashExtsTab[NUM_HASHES + 1] = {
FOR_EACH_HASH(HASH_EXT_op)
_T(".asc")
};

/**
Expand Down
4 changes: 2 additions & 2 deletions libs/WinHash.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ enum hash_algorithm {
#define HASH_EXT_SHA3_256 _T(".sha3-256")
#define HASH_EXT_SHA3_512 _T(".sha3-512")

// Table of supported Hash file extensions
extern LPCTSTR g_szHashExtsTab[NUM_HASHES];
// Table of supported Hash file extensions, plus .asc
extern LPCTSTR g_szHashExtsTab[NUM_HASHES + 1];

// Hash names
#define HASH_NAME_CRC32 _T("CRC-32")
Expand Down
4 changes: 2 additions & 2 deletions version.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
#define HASHCHECK_NAME_STR "HashCheck Shell Extension"

// Full version: MUST be in the form of major,minor,revision,build
#define HASHCHECK_VERSION_FULL 2,4,0,36
#define HASHCHECK_VERSION_FULL 2,4,0,37

// String version: May be any suitable string
#define HASHCHECK_VERSION_STR "2.4.0.36-beta"
#define HASHCHECK_VERSION_STR "2.4.0.37-beta"

#ifdef _USRDLL
// PE version: MUST be in the form of major.minor
Expand Down

0 comments on commit c77a856

Please sign in to comment.