Skip to content

Commit

Permalink
chore(WinSparkle): upgrade to WinSparkle 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Prcuvu committed Mar 13, 2018
1 parent 44b629e commit 665b274
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/winsparkle-version.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of WinSparkle (https://winsparkle.org)
*
* Copyright (C) 2009-2016 Vaclav Slavik
* Copyright (C) 2009-2018 Vaclav Slavik
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -31,8 +31,8 @@
*--------------------------------------------------------------------------*/

#define WIN_SPARKLE_VERSION_MAJOR 0
#define WIN_SPARKLE_VERSION_MINOR 5
#define WIN_SPARKLE_VERSION_MICRO 2
#define WIN_SPARKLE_VERSION_MINOR 6
#define WIN_SPARKLE_VERSION_MICRO 0

/**
Checks if WinSparkle version is at least @a major.@a minor.@a micro.
Expand Down
23 changes: 21 additions & 2 deletions include/winsparkle.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of WinSparkle (https://winsparkle.org)
*
* Copyright (C) 2009-2016 Vaclav Slavik
* Copyright (C) 2009-2018 Vaclav Slavik
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -159,6 +159,25 @@ WIN_SPARKLE_API void __cdecl win_sparkle_set_langid(unsigned short lang);
*/
WIN_SPARKLE_API void __cdecl win_sparkle_set_appcast_url(const char *url);

/**
Sets DSA public key.
Only PEM format is supported.
Public key will be used to verify DSA signature of the update file.
PEM data will be set only if it contains valid DSA public key.
If this function isn't called by the app, public key is obtained from
Windows resource named "DSAPub" of type "DSAPEM".
@param dsa_pub_pem DSA public key in PEM format.
@return 1 if valid DSA public key provided, 0 otherwise.
@since 0.6.0
*/
WIN_SPARKLE_API int __cdecl win_sparkle_set_dsa_pub_pem(const char *dsa_pub_pem);

/**
Sets application metadata.
Expand Down Expand Up @@ -449,7 +468,7 @@ WIN_SPARKLE_API void __cdecl win_sparkle_check_update_with_ui_and_install();
@since 0.4
@see win_sparkle_check_update_with_ui()
*/
*/
WIN_SPARKLE_API void __cdecl win_sparkle_check_update_without_ui();

//@}
Expand Down
Binary file modified lib/WinSparkle.lib
Binary file not shown.
Binary file modified output/WinSparkle.dll
Binary file not shown.

0 comments on commit 665b274

Please sign in to comment.