Skip to content

Conversation

@khyperia
Copy link
Contributor

This check:

https://github.com/khyperia/Steamworks.NET/blob/2ceddb2c35c88f069bbd8927b949a3d4eadb4e58/com.rlabrecque.steamworks.net/Editor/RedistCopy.cs#L20-L23

should be done in RedistInstall.cs as well: right now, the STEAMWORKS_NET define is getting added to every platform automatically. This is no good, it breaks stuff! It should not be added for non-Standalone (mac, win, linux) platforms.

(used selectedBuildTargetGroup because it's used again later in RedistInstall.cs, to add the STEAMWORKS_NET define)

(Thanks for your time, and thanks for making such a great library!)

@khyperia
Copy link
Contributor Author

Just realized #660 does the same thing. It would be great if either one of these could be merged!

@khyperia
Copy link
Contributor Author

Hi! Ping on this @rlabrecque , if you have time, could you review/merge either this PR or #660? It'd be lovely to no longer have to use a fork for our projects! Thanks

@rlabrecque rlabrecque merged commit ba3e01f into rlabrecque:master Mar 21, 2025
@khyperia khyperia deleted the add-platform-check-redist-install branch March 21, 2025 07: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.

2 participants