mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-16 02:31:37 +03:00
70ae11fcad
Since this isn't yet built together with the rest, we can't reliably use the client version without having to rebuilt the extension manually on each release. But it would still be nice to be able to tell if a user has the right version or not loaded, so instead just tag each update of the DLLs with a separate release version. This means that every time we update those binaries we'll have to manually increment the number in the header, but worst case we'll forget from time to time but we'll be able to know if we didn't, and know if we can rely on the number or not.
11 lines
382 B
C
11 lines
382 B
C
#pragma once
|
|
|
|
// This is the number that will end up in the version window of the DLLs.
|
|
// Increment this version before committing a new build if you are today's shell_integration build master.
|
|
#define OCEXT_BUILD_NUM 42
|
|
|
|
#define STRINGIZE2(s) #s
|
|
#define STRINGIZE(s) STRINGIZE2(s)
|
|
|
|
#define OCEXT_VERSION 1,0,0,OCEXT_BUILD_NUM
|
|
#define OCEXT_VERSION_STRING STRINGIZE(OCEXT_VERSION)
|