From 14df9e5cb2e9f2de4adf9b979e8ef33de37b80bd Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Mon, 20 May 2019 18:34:35 +0200 Subject: Android build and export for the mono module --- modules/mono/editor/GodotSharpTools/Editor/GodotSharpExport.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/mono/editor/GodotSharpTools') 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)] -- cgit v1.2.3