mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[all] be smarter about getting the git version
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include <obs/obs-module.h>
|
||||
#include <common/version.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
@@ -17,6 +18,7 @@ extern struct obs_source_info lg_source;
|
||||
|
||||
MODULE_EXPORT bool obs_module_load(void)
|
||||
{
|
||||
printf("Looking Glass OBS Client (%s)\n", BUILD_VERSION);
|
||||
obs_register_source(&lg_source);
|
||||
return true;
|
||||
}
|
||||
@@ -31,4 +33,4 @@ int __stdcall DallMainCRTStartup(void* instance, unsigned reason, void* reserved
|
||||
(void) reserved;
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user