mirror of
https://github.com/visualboyadvance-m/dependencies
synced 2025-10-05 23:52:39 +02:00
Getting winsparkle-static to work for us is going to be complicated, because it also initializes a wxWidgets app. For the time replace it with a binary release of winsparkle, we will package the dll as a resource. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
12 lines
226 B
Batchfile
12 lines
226 B
Batchfile
@echo off
|
|
|
|
set argC=0
|
|
for %%i in (%*) do set /A argC+=1
|
|
|
|
if not "%argC%"=="2" (
|
|
echo Usage: %0 update_file private_key
|
|
exit /b 1
|
|
)
|
|
|
|
openssl dgst -sha1 -binary < "%~1" | openssl dgst -sha1 -sign "%~2" | openssl enc -base64
|