Skip to content

Commit ba3e01f

Browse files
authored
Merge pull request #671 from khyperia/add-platform-check-redist-install
Add platform check to RedistInstall.cs
2 parents 2c732a4 + b98c5e5 commit ba3e01f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

com.rlabrecque.steamworks.net/Editor/RedistInstall.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
[InitializeOnLoad]
1313
public class RedistInstall {
1414
static RedistInstall() {
15+
// We only want to do this on Steam supported platforms.
16+
if (EditorUserBuildSettings.selectedBuildTargetGroup != BuildTargetGroup.Standalone) {
17+
return;
18+
}
1519
WriteSteamAppIdTxtFile();
1620
AddDefineSymbols();
1721
CheckForOldDlls();

0 commit comments

Comments
 (0)