fix: WinSparkle platform filtering and version display
This commit is contained in:
@@ -66,8 +66,10 @@ IDI_APP_ICON ICON "resources\\app_icon.ico"
|
||||
#define VERSION_AS_NUMBER 1,0,0,0
|
||||
#endif
|
||||
|
||||
#if defined(FLUTTER_VERSION)
|
||||
#define VERSION_AS_STRING FLUTTER_VERSION
|
||||
#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH)
|
||||
#define STRINGIFY_(x) #x
|
||||
#define STRINGIFY(x) STRINGIFY_(x)
|
||||
#define VERSION_AS_STRING STRINGIFY(FLUTTER_VERSION_MAJOR) "." STRINGIFY(FLUTTER_VERSION_MINOR) "." STRINGIFY(FLUTTER_VERSION_PATCH)
|
||||
#else
|
||||
#define VERSION_AS_STRING "1.0.0"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user