File tree Expand file tree Collapse file tree 5 files changed +16
-1
lines changed
Flow.Launcher.Core/Plugin
Flow.Launcher.Infrastructure/Storage Expand file tree Collapse file tree 5 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 77using System . Threading . Tasks ;
88using Flow . Launcher . Infrastructure ;
99using Flow . Launcher . Infrastructure . Logger ;
10- using Flow . Launcher . Infrastructure . Storage ;
1110using Flow . Launcher . Infrastructure . UserSettings ;
1211using Flow . Launcher . Plugin ;
12+ using ISavable = Flow . Launcher . Plugin . ISavable ;
1313
1414namespace Flow . Launcher . Core . Plugin
1515{
@@ -51,6 +51,7 @@ public static void Save()
5151 var savable = plugin . Plugin as ISavable ;
5252 savable ? . Save ( ) ;
5353 }
54+
5455 API . SavePluginSettings ( ) ;
5556 }
5657
Original file line number Diff line number Diff line change 1+ using System ;
2+
3+ namespace Flow . Launcher . Infrastructure . Storage
4+ {
5+ [ Obsolete ( "Deprecated as of Flow Launcher v1.8.0, on 2021.06.21. " +
6+ "This is used only for Everything plugin v1.4.9 or below backwards compatibility" ) ]
7+ public interface ISavable : Plugin . ISavable { }
8+ }
Original file line number Diff line number Diff line change @@ -87,4 +87,8 @@ public void Save()
8787 File . WriteAllText ( FilePath , serialized ) ;
8888 }
8989 }
90+
91+ [ Obsolete ( "Deprecated as of Flow Launcher v1.8.0, on 2021.06.21. " +
92+ "This is used only for Everything plugin v1.4.9 or below backwards compatibility" ) ]
93+ public class JsonStrorage < T > : JsonStorage < T > where T : new ( ) { }
9094}
Original file line number Diff line number Diff line change @@ -22,3 +22,4 @@ public PluginJsonStorage(T data) : this()
2222 }
2323 }
2424}
25+
Original file line number Diff line number Diff line change 2020using Flow . Launcher . Storage ;
2121using Flow . Launcher . Infrastructure . Logger ;
2222using System . Threading . Channels ;
23+ using ISavable = Flow . Launcher . Plugin . ISavable ;
2324
2425namespace Flow . Launcher . ViewModel
2526{
You can’t perform that action at this time.
0 commit comments