private static void BuildPlayerHandler(BuildPlayerOptions options)
        {
            var activeConfig = EditorBuildConfigs.ActiveBuildConfig;

            EditorEventsExecutor.ExecuteAttribute <EditorEvents.OnUserBuildInitiatedAttribute>();

            // Telling all the app configs to update player options
            foreach (var settings in EditorBuildConfigs.GetActiveConfigSettings())
            {
                options = settings.ChangeBuildPlayerOptions(activeConfig, options);
            }

            BuildPipeline.BuildPlayer(options);
        }
        public static void SetActiveConfig(string guid)
        {
            foreach (var config in LostLibrary.BuildConfigs.BuildConfigs)
            {
                if (config.Id == guid)
                {
                    LostLibrary.BuildConfigs.activeBuildConfig = config;

                    EditorBuildConfigs.OnDomainReload();

                    if (Platform.IsUnityCloudBuild || Application.isBatchMode)
                    {
                        EditorEventsExecutor.ExecuteAttribute <EditorEvents.OnCloudBuildInitiatedAttribute>();
                    }

                    break;
                }
            }
        }