Skip to content

fix(build): add CNC_GENERALS_PATH fallback in zero hour wrappers#209

Merged
fbraz3 merged 1 commit into
mainfrom
fix-issue-205-run-sh-generals-path
Jul 12, 2026
Merged

fix(build): add CNC_GENERALS_PATH fallback in zero hour wrappers#209
fbraz3 merged 1 commit into
mainfrom
fix-issue-205-run-sh-generals-path

Conversation

@fbraz3

@fbraz3 fbraz3 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Description

Added fallback for `CNC_GENERALS_PATH` in Zero Hour deployment wrappers (Linux and macOS) as well as the Flatpak manifest, defaulting to `~/GeneralsX/Generals` when the environment variable is empty.

Fixes #205

Changes

  • Updated `scripts/build/linux/run-linux-zh.sh`
  • Updated `scripts/build/macos/run-macos-zh.sh`
  • Updated `scripts/build/linux/deploy-linux-zh.sh`
  • Updated `scripts/build/macos/deploy-macos-zh.sh`
  • Updated `scripts/build/macos/bundle-macos-zh.sh`
  • Updated `flatpak/com.fbraz3.GeneralsXZH.yml`
  • Documented changes in `docs/WORKLOG/2026-07-DIARY.md`

Added fallback for CNC_GENERALS_PATH in Zero Hour deployment wrappers (Linux and macOS) as well as the Flatpak manifest, defaulting to ~/GeneralsX/Generals when the environment variable is empty.

Fixes #205
@fbraz3 fbraz3 merged commit b397147 into main Jul 12, 2026
6 checks passed
@fbraz3 fbraz3 deleted the fix-issue-205-run-sh-generals-path branch July 12, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default CNC_GENERALS_PATH is not applied when launching Zero Hour

1 participant