summaryrefslogtreecommitdiff
path: root/modules/mono/editor/GodotSharpTools/Editor
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2019-05-20 18:34:35 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2019-06-03 17:09:24 +0200
commit14df9e5cb2e9f2de4adf9b979e8ef33de37b80bd (patch)
tree1f896d45a14d5a7c777d45b02ad7ca780cc30cd7 /modules/mono/editor/GodotSharpTools/Editor
parent22583ec6a39bb56943c78c0ed9a094b28b666b75 (diff)
Android build and export for the mono module
Diffstat (limited to 'modules/mono/editor/GodotSharpTools/Editor')
-rw-r--r--modules/mono/editor/GodotSharpTools/Editor/GodotSharpExport.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotSharpTools/Editor/GodotSharpExport.cs b/modules/mono/editor/GodotSharpTools/Editor/GodotSharpExport.cs
index e45dd2025b..44a43f0ddd 100644
--- a/modules/mono/editor/GodotSharpTools/Editor/GodotSharpExport.cs
+++ b/modules/mono/editor/GodotSharpTools/Editor/GodotSharpExport.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.IO;
+using System.Linq;
using System.Runtime.CompilerServices;
namespace GodotSharpTools.Editor
@@ -62,7 +63,7 @@ namespace GodotSharpTools.Editor
{
// OSX export templates are contained in a zip, so we place
// our custom template inside it and let Godot do the rest.
- return !featureSet.Contains("OSX");
+ return !featureSet.Any(f => new[] {"OSX", "Android"}.Contains(f));
}
[MethodImpl(MethodImplOptions.InternalCall)]