add version const
This commit is contained in:
parent
0ddf1ef1d7
commit
1ebb56d321
@ -1,7 +1,15 @@
|
|||||||
|
/*
|
||||||
|
AUTHOR: Alexander Popov <iiiypuk {at} fastmail.fm>
|
||||||
|
LICENSE: MIT-0
|
||||||
|
REPO: https://git.a2s.su/iiiypuk/minecraft-launcher-libs
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <cjson/cJSON.h>
|
#include <cjson/cJSON.h>
|
||||||
|
|
||||||
|
#define VERSION "1.0.0" // software version
|
||||||
|
|
||||||
void usage();
|
void usage();
|
||||||
void info(cJSON *json);
|
void info(cJSON *json);
|
||||||
void generate_library_list(cJSON *input_json, cJSON *output_json, char output_system);
|
void generate_library_list(cJSON *input_json, cJSON *output_json, char output_system);
|
||||||
@ -66,7 +74,8 @@ int main(int argc, char const *argv[])
|
|||||||
|
|
||||||
void usage()
|
void usage()
|
||||||
{
|
{
|
||||||
printf("%s\n\n", "Minecraft Libraries List Generator");
|
printf("%s\n%s: %s\n\n", "Minecraft Libraries List Generator",
|
||||||
|
"Version", VERSION);
|
||||||
printf("%s\n", "Usage:");
|
printf("%s\n", "Usage:");
|
||||||
printf(" %s\n\n", "make-libs-string <version.json> <system>");
|
printf(" %s\n\n", "make-libs-string <version.json> <system>");
|
||||||
printf(" %s\n\n", "<system> - w|l|x (windows or linux or osx)");
|
printf(" %s\n\n", "<system> - w|l|x (windows or linux or osx)");
|
||||||
|
Loading…
Reference in New Issue
Block a user