@@ -367,7 +367,7 @@ bin_dir=$gaianet_base_dir/bin
367367printf " [+] Installing gaianet CLI tool ...\n"
368368check_curl https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version /gaianet $bin_dir /gaianet
369369
370- if [ " $repo_branch " = " main " ]; then
370+ if [ " $repo_branch " = " demo " ]; then
371371 check_curl https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version /gaianet $bin_dir /gaianet
372372else
373373 check_curl https://github.com/GaiaNet-AI/gaianet-node/raw/$repo_branch /gaianet $bin_dir /gaianet
437437 printf " [+] Downloading default config.json ...\n"
438438
439439 if [ ! -f " $gaianet_base_dir /config.json" ]; then
440- if [ " $repo_branch " = " main " ]; then
440+ if [ " $repo_branch " = " demo " ]; then
441441 check_curl https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version /config.json $gaianet_base_dir /config.json
442442 else
443443 check_curl https://github.com/GaiaNet-AI/gaianet-node/raw/$repo_branch /config.json $gaianet_base_dir /config.json
743743 # download the default nodeid.json
744744 if [ ! -f " $gaianet_base_dir /nodeid.json" ]; then
745745 printf " * Download nodeid.json ...⏳\n"
746- if [ " $repo_branch " = " main " ]; then
746+ if [ " $repo_branch " = " demo " ]; then
747747 check_curl https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version /nodeid.json $gaianet_base_dir /nodeid.json
748748 else
749749 check_curl https://github.com/GaiaNet-AI/gaianet-node/raw/refs/heads/$repo_branch /nodeid.json $gaianet_base_dir /nodeid.json
841841 printf " * Download frpc.toml\n"
842842 # check_curl_silent https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version/frpc.toml $gaianet_base_dir/gaia-frp/frpc.toml
843843
844- if [ " $repo_branch " = " main " ]; then
844+ if [ " $repo_branch " = " demo " ]; then
845845 check_curl_silent https://github.com/GaiaNet-AI/gaianet-node/releases/download/$version /frpc.toml $gaianet_base_dir /gaia-frp/frpc.toml
846846 else
847847 check_curl_silent https://github.com/GaiaNet-AI/gaianet-node/raw/refs/heads/$repo_branch /frpc.toml $gaianet_base_dir /gaia-frp/frpc.toml
0 commit comments