Implemeting hashing verification for solving the bug reported in:

http://mutabit.com/repos.fossil/grafoscopio/info/05e57145296f9fa4
This commit is contained in:
Offray Vladimir Luna Cárdenas 2016-09-30 16:33:45 +00:00
parent df59b6cd78
commit 745d88bf29
1 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,14 @@ ExternalApp class >> configurePandoc [
]
{ #category : #installation }
ExternalApp class >> file: aFileName hasHash: aSHAString [
aSHAString = (SHA1 new hashMessage: aFileName asFileReference binaryReadStream contents) hex
ifFalse: [ ^ false ]
ifTrue: [ ^ true ].
]
{ #category : #installation }
ExternalApp class >> installSQLite32Bits [
"I dowload the SQLite binary for the hosting platform, uncompress it and made it available as with the name