Skip to content

feat: Add macOS development support#467

Merged
MSchmoecker merged 3 commits intoValheim-Modding:devfrom
jneb802:mac-dev
Jan 18, 2026
Merged

feat: Add macOS development support#467
MSchmoecker merged 3 commits intoValheim-Modding:devfrom
jneb802:mac-dev

Conversation

@jneb802
Copy link
Contributor

@jneb802 jneb802 commented Jan 15, 2026

  • Add VALHEIM_MANAGED variable to Paths.props with OS-agnostic defaults
  • Replace hardcoded Windows paths in JotunnLibRefsCorlib.props with variable references
  • Use forward slashes for cross-platform compatibility
  • Support Environment.props import for local path overrides
  • Remove VALHEIM_MANAGED override from JotunnLib.csproj

- Add VALHEIM_MANAGED variable to Paths.props with OS-agnostic defaults
- Replace hardcoded Windows paths in JotunnLibRefsCorlib.props with variable references
- Use forward slashes for cross-platform compatibility
- Support Environment.props import for local path overrides
- Remove VALHEIM_MANAGED override from JotunnLib.csproj
<BEPINEX_PATH>$(VALHEIM_INSTALL)\BepInEx</BEPINEX_PATH>
</PropertyGroup>
<PropertyGroup Condition="$(VALHEIM_MANAGED)=='' AND $(VALHEIM_INSTALL) != ''">
<VALHEIM_MANAGED>$(VALHEIM_INSTALL)/valheim_Data/Managed</VALHEIM_MANAGED>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be Valheim_Data/Managed here. Maybe both paths can be added with an Exists condition, in case someone has an old folder or Valheim changes it back

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MSchmoecker Good point, addressed that in:

1e36412

@MSchmoecker MSchmoecker merged commit 16169c3 into Valheim-Modding:dev Jan 18, 2026
1 of 3 checks passed
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