Skip to content

Feature/external/pr 57#58

Merged
KlaasWhite merged 1 commit intodevfrom
feature/external/pr-57
Feb 21, 2026
Merged

Feature/external/pr 57#58
KlaasWhite merged 1 commit intodevfrom
feature/external/pr-57

Conversation

@KlaasWhite
Copy link
Member

No description provided.

KSA r3646 added `Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory)`
at the top of Program.Main() to fix a Linux startup crash. When launched via StarMap,
AppDomain.CurrentDomain.BaseDirectory resolves to StarMap's directory instead of the
game directory, causing the game to look for assets in the wrong location.

Fix by setting APP_CONTEXT_BASE_DIRECTORY to the game directory, which is the backing
store for AppDomain.CurrentDomain.BaseDirectory in .NET.

Fixes #55
@github-actions
Copy link

Next version: v0.3.7

@KlaasWhite KlaasWhite changed the base branch from main to dev February 21, 2026 12:41
@KlaasWhite KlaasWhite merged commit 21dcef7 into dev Feb 21, 2026
3 checks passed
@KlaasWhite KlaasWhite deleted the feature/external/pr-57 branch February 23, 2026 19:21
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.

2 participants