Skip to content

Commit 388688e

Browse files
committed
Short circuit template UI process if doesn't exist
1 parent b67e815 commit 388688e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ public async Task InitializeAsync()
3636
_storage = new JsonStorage<Dictionary<string, object>>(SettingPath);
3737
Settings = await _storage.LoadAsync();
3838

39+
if (Settings != null)
40+
{
41+
return;
42+
}
43+
3944
foreach (var (type, attributes) in Configuration.Body)
4045
{
4146
if (attributes.Name == null)

0 commit comments

Comments
 (0)