Revise lgsm/modules/install_config.sh
This commit is contained in:
parent
2795d8e202
commit
536492db04
@ -23,11 +23,11 @@ fn_fetch_default_config() {
|
|||||||
fn_messages_separator
|
fn_messages_separator
|
||||||
echo -e "Downloading default configs from:"
|
echo -e "Downloading default configs from:"
|
||||||
echo -e ""
|
echo -e ""
|
||||||
echo -e "${italic}https://github.com/GameServerManagers/Game-Server-Configs${default}"
|
echo -e "${italic}https://ct.windycloud.cn:3000/WindyMadman/Game-Server-Configs${default}"
|
||||||
echo -e ""
|
echo -e ""
|
||||||
fn_sleep_time_1
|
fn_sleep_time_1
|
||||||
mkdir -p "${lgsmdir}/config-default/config-game"
|
mkdir -p "${lgsmdir}/config-default/config-game"
|
||||||
githuburl="https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/main"
|
githuburl="https://ct.windycloud.cn:3000/WindyMadman/Game-Server-Configs/raw/branch/main"
|
||||||
for config in "${array_configs[@]}"; do
|
for config in "${array_configs[@]}"; do
|
||||||
fn_fetch_file "${githuburl}/${shortname}/${config}" "${remote_fileurl_backup}" "GitHub" "Bitbucket" "${lgsmdir}/config-default/config-game" "${config}" "nochmodx" "norun" "forcedl" "nohash"
|
fn_fetch_file "${githuburl}/${shortname}/${config}" "${remote_fileurl_backup}" "GitHub" "Bitbucket" "${lgsmdir}/config-default/config-game" "${config}" "nochmodx" "norun" "forcedl" "nohash"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user