Files
dependencies/WinSparkle-0.6.0/bin/sign_update.bat
Rafael Kitover fa2265a8be Remove winsparkle-static submod, use bin release.
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>
2019-11-05 00:36:01 +00:00

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