feat: add Wine Z: path prefix for Windows platform on Linux host
CI / build (push) Successful in 1m44s
CI / build (push) Successful in 1m44s
- Add winePath helper that prepends Z: when platform is windows on Linux - Thread platform through buildModPath, buildAutoArgs, and Start() - Apply Z: prefix to -config=, -mod=, -profiles=, and %command% binary paths - Add tests for winePath, buildAutoArgs, and buildModPath with platform param - Fix formatting across services package with gofmt - Include all prior bug fixes from this branch
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
.PHONY: backend frontend build run clean dev test test-backend test-frontend
|
||||
|
||||
# Default paths for dev — override via env (absolute to avoid CWD mismatches)
|
||||
SERVERFILE_DIR ?= $(abspath ../dev-deploy/serverfiles)
|
||||
MODS_DIR ?= $(abspath ../dev-deploy/serverfiles/mods)
|
||||
CFG_DIR ?= $(abspath ../dev-deploy/serverfiles/cfg)
|
||||
PROFILES_DIR ?= $(abspath ../dev-deploy/serverfiles/profiles)
|
||||
DATA_DIR ?= $(abspath ../dev-deploy/data)
|
||||
SERVERFILE_DIR ?= $(abspath dev-deploy/serverfiles)
|
||||
MODS_DIR ?= $(abspath dev-deploy/serverfiles/mods)
|
||||
CFG_DIR ?= $(abspath dev-deploy/serverfiles/cfg)
|
||||
PROFILES_DIR ?= $(abspath dev-deploy/serverfiles/profiles)
|
||||
DATA_DIR ?= $(abspath dev-deploy/data)
|
||||
|
||||
# Server/steamcmd overrides — set to use stubs in dev
|
||||
SERVER_BINARY ?= arma3server_x64
|
||||
|
||||
Reference in New Issue
Block a user