We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a6c66 commit c9622e9Copy full SHA for c9622e9
1 file changed
examples/demo/Assets/Scripts/Editor/CopyEnvPreBuild.cs
@@ -12,6 +12,9 @@ public class CopyEnvPreBuild : IPreprocessBuildWithReport
12
13
public void OnPreprocessBuild(BuildReport report)
14
{
15
+ if (report.summary.platform != BuildTarget.iOS)
16
+ return;
17
+
18
var projectRoot = Path.GetDirectoryName(Application.dataPath);
19
var source = Path.Combine(projectRoot, ".env");
20
var dest = Path.Combine(Application.streamingAssetsPath, ".env");
0 commit comments