mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-09 17:19:26 +00:00
add beta option for versioning
This commit is contained in:
parent
763ee1b4ed
commit
f3c14063c3
2 changed files with 15 additions and 3 deletions
|
|
@ -11,8 +11,8 @@
|
|||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
#include <conio.h>
|
||||
# include <Windows.h>
|
||||
# include <conio.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
|
|
@ -50,6 +50,11 @@ main(int argc, char * argv[])
|
|||
printf("Please visit https://docs.hyperdbg.org for more information...\n");
|
||||
printf("HyperDbg is released under the GNU Public License v3 (GPLv3).\n\n");
|
||||
|
||||
#if BETA_VERSION == 1
|
||||
printf("Notice: This is a beta release and may contain bugs or stability issues. ");
|
||||
printf("If you encounter any problems, please report them and consider using the previous stable release.\n\n");
|
||||
#endif
|
||||
|
||||
if (argc != 1)
|
||||
{
|
||||
//
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@
|
|||
#define VERSION_MINOR 19
|
||||
#define VERSION_PATCH 0
|
||||
|
||||
#define BETA_VERSION 1
|
||||
|
||||
//
|
||||
// Example of __DATE__ string: "Jul 27 2012"
|
||||
// 01234567890
|
||||
|
|
@ -107,7 +109,12 @@ const UCHAR BuildDateTime[] = {
|
|||
# define TOSTRING(x) STRINGIFY(x)
|
||||
|
||||
// Complete version as a string
|
||||
# define HYPERDBG_COMPLETE_VERSION "v" TOSTRING(VERSION_MAJOR) "." TOSTRING(VERSION_MINOR) "." TOSTRING(VERSION_PATCH) "\0"
|
||||
|
||||
# if BETA_VERSION == 0
|
||||
# define HYPERDBG_COMPLETE_VERSION "v" TOSTRING(VERSION_MAJOR) "." TOSTRING(VERSION_MINOR) "." TOSTRING(VERSION_PATCH) "\0"
|
||||
# else
|
||||
# define HYPERDBG_COMPLETE_VERSION "v" TOSTRING(VERSION_MAJOR) "." TOSTRING(VERSION_MINOR) "." TOSTRING(VERSION_PATCH) "-beta\0"
|
||||
# endif
|
||||
|
||||
const UCHAR CompleteVersion[] = HYPERDBG_COMPLETE_VERSION;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue