Add versioning

This commit is contained in:
Vadim Vetrov
2024-10-29 01:09:23 +03:00
parent 0ee6d667e4
commit c9537bae95
6 changed files with 42 additions and 17 deletions

9
args.c
View File

@@ -110,8 +110,13 @@ static long parse_numeric_option(const char* value) {
}
void print_version() {
printf("youtubeUnblock\n");
printf("Bypasses deep packet inspection systems that relies on SNI\n");
printf("youtubeUnblock"
#if defined(PKG_VERSION)
" " PKG_VERSION
#endif
"\n"
);
printf("Bypasses deep packet inspection systems that rely on SNI\n");
printf("\n");
}