Plugins - Exclude SkiaSharp/Stylet assets

Plugins - Only copy resources where applicable
UI - Added publish profile
This commit is contained in:
Robert committed 2020-09-01 19:44:51 +02:00
1 parent 8a7d7445c5
commit 68ce43e834
27 files changed
+194 -179

No files matched your search

@@ -249,6 +249,9 @@ namespace Artemis.Core.Services
public ProfileDescriptor GetLastActiveProfile(ProfileModule module)
{
var moduleProfiles = _profileRepository.GetByPluginGuid(module.PluginInfo.Guid);
if (!moduleProfiles.Any())
return CreateProfileDescriptor(module, "Default");
var profileEntity = moduleProfiles.FirstOrDefault(p => p.IsActive) ?? moduleProfiles.FirstOrDefault();
return profileEntity == null ? null : new ProfileDescriptor(module, profileEntity);
}