diff --git a/.github/workflows/details-check.yml b/.github/workflows/details-check.yml index 2fce33901..1817ae90b 100644 --- a/.github/workflows/details-check.yml +++ b/.github/workflows/details-check.yml @@ -23,7 +23,7 @@ jobs: run: LGSM_GITHUBBRANCH="feature/info_game-refactor" ./csgoserver developer - name: Download config - run: wget https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/master/CounterStrikeGlobalOffensive/server.cfg + run: curl -o config https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/master/CounterStrikeGlobalOffensive/server.cfg - name: Check details run: LGSM_GITHUBBRANCH="feature/info_game-refactor" ./csgoserver detect-details server.cfg diff --git a/lgsm/modules/command_dev_details.sh b/lgsm/modules/command_dev_details.sh index 8fbafa903..f6a398793 100644 --- a/lgsm/modules/command_dev_details.sh +++ b/lgsm/modules/command_dev_details.sh @@ -5,8 +5,8 @@ # Website: https://linuxgsm.com # Description: Dev only: Enables debugging log to be saved to dev-debug.log. -if [ -f "${2}" ]; then - servercfgfullpath="${2}" +if [ -f "config" ]; then + servercfgfullpath="config" fi info_game.sh