chore(player-api): 🔧 Update player API server script configuration for environment variables, startup commands, and execution logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
c28ac65ff7
commit
d6e0ab34ce
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
|
|||
# flatpak runtime just for this harness is silly when native Godot 4
|
||||
# works directly. Env-var passthrough is automatic for the native path.
|
||||
export CP_SEED CP_PLAYERS CP_PLAYER_SLOT CP_MAP_SIZE CP_MAP_TYPE \
|
||||
CP_OMNISCIENT CP_TIMEOUT_SEC CP_LOG_FILE
|
||||
CP_OMNISCIENT CP_TIMEOUT_SEC CP_LOG_FILE CP_VICTORY_MODE
|
||||
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
|
|
@ -67,6 +67,7 @@ case "$(uname -s)" in
|
|||
--env=CP_OMNISCIENT="$CP_OMNISCIENT" \
|
||||
--env=CP_TIMEOUT_SEC="$CP_TIMEOUT_SEC" \
|
||||
--env=CP_LOG_FILE="$CP_LOG_FILE" \
|
||||
--env=CP_VICTORY_MODE="${CP_VICTORY_MODE:-}" \
|
||||
org.godotengine.Godot \
|
||||
--path "$PROJECT_DIR/src/game" \
|
||||
--headless \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue