mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-21 10:49:25 +01:00
Ask if temp folder should be deleted after cancelling
This commit is contained in:
@@ -57,8 +57,9 @@ namespace Flowframes.Main
|
||||
|
||||
foreach (KeyValuePair<string, string> entry in AiProcess.filenameMap)
|
||||
{
|
||||
if (counter % 500 == 0) await Task.Delay(1);
|
||||
if (counter % 1000 == 0) await Task.Delay(1);
|
||||
fileContent += $"{entry.Key}|{entry.Value}\n";
|
||||
counter++;
|
||||
}
|
||||
|
||||
File.WriteAllText(filePath, fileContent);
|
||||
|
||||
Reference in New Issue
Block a user