mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 19:54:15 +01:00
rework file cache management, force usage of websocket, add uid comments per server
This commit is contained in:
parent
3ee082d371
commit
71d48b0d8c
7 changed files with 203 additions and 115 deletions
|
|
@ -47,6 +47,7 @@ namespace MareSynchronos
|
|||
_clientState = clientState;
|
||||
_configuration = PluginInterface.GetPluginConfig() as Configuration ?? new Configuration();
|
||||
_configuration.Initialize(PluginInterface);
|
||||
_configuration.Migrate();
|
||||
|
||||
_windowSystem = new WindowSystem("MareSynchronos");
|
||||
|
||||
|
|
@ -123,7 +124,7 @@ namespace MareSynchronos
|
|||
HelpMessage = "Opens the Mare Synchronos UI"
|
||||
});
|
||||
|
||||
if (!_configuration.HasValidSetup)
|
||||
if (!_configuration.HasValidSetup())
|
||||
{
|
||||
_introUi.IsOpen = true;
|
||||
return;
|
||||
|
|
@ -188,7 +189,7 @@ namespace MareSynchronos
|
|||
|
||||
private void OpenConfigUi()
|
||||
{
|
||||
if (_configuration.HasValidSetup)
|
||||
if (_configuration.HasValidSetup())
|
||||
_pluginUi.Toggle();
|
||||
else
|
||||
_introUi.Toggle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue