Browse Source

looks for file called config and uses that

pull/4200/head
Daniel Gibbs 2 years ago
parent
commit
ff5f47eee0
  1. 2
      .github/workflows/details-check.yml
  2. 4
      lgsm/modules/command_dev_details.sh

2
.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

4
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

Loading…
Cancel
Save