We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b52e06 commit 43a53c3Copy full SHA for 43a53c3
src/Ros2ForUnity/Scripts/PostInstall.cs
@@ -40,7 +40,7 @@ public void OnPostprocessBuild(BuildReport report)
40
var execFilename = Path.GetFileNameWithoutExtension(report.summary.outputPath);
41
FileUtil.CopyFileOrDirectory(
42
r2fuMeta, outputDir + "/" + execFilename + "_Data/" + r2fuMetadataName);
43
- if (ROS2ForUnity.GetOS() == ROS2ForUnity.Platform.Linux) {
+ if (EditorUserBuildSettings.activeBuildTarget == BuildTarget.StandaloneLinux64) {
44
45
r2csMeta, outputDir + "/" + execFilename + "_Data/Plugins/" + r2csMetadataName);
46
} else {
@@ -52,4 +52,4 @@ public void OnPostprocessBuild(BuildReport report)
52
}
53
54
55
-#endif
+#endif
0 commit comments