Example #1
0
        public LovensePage(SceneEditingModel model, ISceneItem editedItem)
        {
            _model      = model;
            _editedItem = editedItem;

            RefreshState();

            Refresh = () =>
            {
                PluginContextSetup.TryToLoad();
                if (editedItem == null && IsInstalled(_model))
                {
                    AddPlugin(model);
                }
                else
                {
                    RefreshState();
                }
            };

            Download = () => model.Environment.OpenUrl("https://streamster.io/how-to-install-the-lovense-streamster-toolset");

            HowToUseIt = () => model.Environment.OpenUrl("https://streamster.io/how-to-install-the-lovense-streamster-toolset");
        }
        public static void Init()
        {
            PluginContextSetup.TryToLoad();

            ScreenCaptureManager.Instance.Init(new ExtensionLogger("sc: "), MainThreadExecutor);
        }
Example #3
0
 internal static bool IsLovenseVisible()
 {
     PluginContextSetup.TryToLoad();
     return(PluginContextSetup.IsLoaded() || PluginContextSetup.IsInstalledForOthers());
 }