From d16b6bb120a69b71eb61fe7668a62765e7511c70 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Mon, 23 Dec 2024 00:32:09 +0800 Subject: [PATCH] feat: use release instead of nightly build by default --- README.md | 8 ++++---- src/main.cpp | 2 +- xmake.lua | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6ad816f..df9778d 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,13 @@ allay This is equal to: ```bash -allay --run --update --nightly +allay --run --update ``` Allows concatenation of single-character arguments: ```bash -allay -run +allay -ru ``` Available options: @@ -60,13 +60,13 @@ Pass custom parameters to the JVM, such as memory limits: > The "-" before the parameter will be automatically added. ```bash -allay -run --args Xms1G Xmx4G +allay -ru --args Xms1G Xmx4G ``` Start the server in daemon mode: ```bash -allay -rund +allay -rud ``` Start the server, but do not check for update: diff --git a/src/main.cpp b/src/main.cpp index 1a021f9..ff9023a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -30,7 +30,7 @@ auto parse_arguments(int argc, char* argv[]) { _args args; args.m_run = true; args.m_update = true; - args.m_use_nightly = true; + args.m_use_nightly = false; args.m_deamon = false; return args; } diff --git a/xmake.lua b/xmake.lua index f3c4398..8b568a0 100644 --- a/xmake.lua +++ b/xmake.lua @@ -18,7 +18,7 @@ target('allay') add_files('src/**.cpp') add_includedirs('src') add_includedirs('build/config') - set_version("1.0.0") + set_version("1.0.1") add_packages( 'argparse',