File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Flow.Launcher.Infrastructure/Storage Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -180,20 +180,24 @@ private void BackupOriginFile()
180
180
181
181
public void Save ( )
182
182
{
183
- string serialized = JsonSerializer . Serialize ( Data ,
183
+ throw new NotImplementedException ( "Save error" ) ;
184
+
185
+ /*string serialized = JsonSerializer.Serialize(Data,
184
186
new JsonSerializerOptions { WriteIndented = true });
185
187
186
188
File.WriteAllText(TempFilePath, serialized);
187
189
188
- AtomicWriteSetting ( ) ;
190
+ AtomicWriteSetting();*/
189
191
}
190
192
191
193
public async Task SaveAsync ( )
192
194
{
193
- await using var tempOutput = File . OpenWrite ( TempFilePath ) ;
195
+ throw new NotImplementedException ( "SaveAsync error" ) ;
196
+
197
+ /*await using var tempOutput = File.OpenWrite(TempFilePath);
194
198
await JsonSerializer.SerializeAsync(tempOutput, Data,
195
199
new JsonSerializerOptions { WriteIndented = true });
196
- AtomicWriteSetting ( ) ;
200
+ AtomicWriteSetting();*/
197
201
}
198
202
199
203
private void AtomicWriteSetting ( )
You can’t perform that action at this time.
0 commit comments