Skip to content

fix: remove hardcoded personal paths — repo works on any machine#2

Merged
benjamineckstein merged 1 commit into
mainfrom
fix/remove-hardcoded-paths
May 22, 2026
Merged

fix: remove hardcoded personal paths — repo works on any machine#2
benjamineckstein merged 1 commit into
mainfrom
fix/remove-hardcoded-paths

Conversation

@benjamineckstein
Copy link
Copy Markdown
Contributor

Summary

  • MainMenu.cs — derive project root at runtime from ProjectSettings.GlobalizePath("res://") instead of hardcoded /Users/benjamin.eckstein/.... Drop hardcoded DOTNET_ROOT — use dotnet from PATH.
  • .claude/agents/loopolis-player.md — replace all absolute paths with ./godot/shared/... (agents run from repo root)
  • .claude/agents/loopolis-godot-engineer.md--path /path/to/loopolis/godot/
  • CLAUDE.md — generic --path placeholder + DOTNET_ROOT=$(dirname $(dirname $(which dotnet)))
  • STATUS.md — same

Test plan

  • dotnet test — 1025 / 1025 ✅ verified locally
  • cd godot && dotnet build — Godot scripts compile ✅ verified locally

- MainMenu.cs: derive projectPath from ProjectSettings.GlobalizePath("res://") parent; drop hardcoded DOTNET_ROOT
- loopolis-player.md: remove absolute cd, replace absolute SHARED and state-file paths with ./godot/shared/... relative paths
- loopolis-godot-engineer.md: replace --path /Users/benjamin.eckstein/... with /path/to/loopolis/godot/
- CLAUDE.md: replace both --path personal paths with /path/to/loopolis/godot/; replace hardcoded DOTNET_ROOT with $(dirname $(dirname $(which dotnet)))
- STATUS.md: same --path and DOTNET_ROOT replacement in Godot Launch section
@benjamineckstein benjamineckstein merged commit 8df1cbc into main May 22, 2026
2 checks passed
@benjamineckstein benjamineckstein deleted the fix/remove-hardcoded-paths branch May 22, 2026 17:59
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.

1 participant