Browse Source

Update GitHub URL for downloading configs

pull/4929/head
xe1os 3 weeks ago
committed by GitHub
parent
commit
a27657dc26
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      lgsm/modules/install_config.sh

4
lgsm/modules/install_config.sh

@ -21,11 +21,11 @@ fn_default_config_remote() {
echo -e ""
echo -e "${bold}${lightyellow}Downloading ${gamename} Configs${default}"
fn_messages_separator
echo -e "Downloading default configs from: ${italic}https://github.com/GameServerManagers/Game-Server-Configs${default}"
echo -e "Downloading default configs from: ${italic}https://github.com/xe1os/Game-Server-Configs${default}"
echo -e ""
fn_sleep_time_1
mkdir -p "${lgsmdir}/config-default/config-game"
githuburl="https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/main"
githuburl="https://raw.githubusercontent.com/xe1os/Game-Server-Configs/main"
for config in "${array_configs[@]}"; do
# Downloads default configs from Game-Server-Configs repo to lgsm/config-default.
fn_fetch_file "${githuburl}/${shortname}/${config}" "${remote_fileurl_backup}" "GitHub" "Bitbucket" "${lgsmdir}/config-default/config-game" "${config}" "nochmodx" "norun" "forcedl" "nohash"

Loading…
Cancel
Save