From 93677ea5b393e61e41b98dbf59781b8b394b9833 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 8 May 2026 12:56:53 +0000
Subject: [PATCH] Address review nits for steamcmd checks and docs wording
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/1575c81b-f8a7-433a-8f3b-e068c0992c18
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
---
modules/billing/docs/getting-started/index.php | 2 +-
modules/steam_workshop/agent_update_workshop.php | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/modules/billing/docs/getting-started/index.php b/modules/billing/docs/getting-started/index.php
index e5a16061..991d4fa6 100644
--- a/modules/billing/docs/getting-started/index.php
+++ b/modules/billing/docs/getting-started/index.php
@@ -12,7 +12,7 @@
Once your payment is processed, you'll receive:
- A confirmation email with your server details
- - Access to your control panel login page
+ - Access to your control panel login URL (provided in your service email)
- FTP credentials for file management
- Server IP address and port
diff --git a/modules/steam_workshop/agent_update_workshop.php b/modules/steam_workshop/agent_update_workshop.php
index 54fc8ef0..46736d66 100644
--- a/modules/steam_workshop/agent_update_workshop.php
+++ b/modules/steam_workshop/agent_update_workshop.php
@@ -353,8 +353,11 @@ function sw_agent_steamcmd_download(array $mod, array $profile, array $tpl_vars,
}
// Validate that steamcmd exists
- if (!$dry_run && (!is_file($steamcmd) || !is_executable($steamcmd))) {
- return array('ok' => false, 'error' => "SteamCMD not found or not executable: $steamcmd");
+ if (!$dry_run && !is_file($steamcmd)) {
+ return array('ok' => false, 'error' => "SteamCMD not found: $steamcmd");
+ }
+ if (!$dry_run && !is_executable($steamcmd)) {
+ return array('ok' => false, 'error' => "SteamCMD is not executable: $steamcmd");
}
// Build argument list; escape each argument individually.