mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-07-12 05:26:12 +02:00
Form1 cleanup
This commit is contained in:
@@ -58,26 +58,22 @@ namespace Flowframes
|
||||
Text = $"Flowframes";
|
||||
}
|
||||
|
||||
private void Form1_Shown(object sender, EventArgs e)
|
||||
private async void Form1_Shown(object sender, EventArgs e)
|
||||
{
|
||||
Checks();
|
||||
|
||||
if (Debugger.IsAttached)
|
||||
{
|
||||
Logger.Log("Debugger is attached - Flowframes seems to be running within VS.");
|
||||
scnDetectTestBtn.Visible = true;
|
||||
}
|
||||
|
||||
// string path = @"F:\AI\Testing\RIFE\temp\ScnDetectTests\blendTest\";
|
||||
// string[] blendImgs = new string[] { path + "1-blend1.png", path + "1-blend2.png", path + "1-blend3.png", path + "1-blend4.png", path + "1-blend5.png", path + "1-blend6.png", path + "1-blend7.png" };
|
||||
// Magick.Blend.BlendImages(path + "1.png", path + "2.png", blendImgs);
|
||||
await Checks();
|
||||
}
|
||||
|
||||
async Task Checks()
|
||||
{
|
||||
try
|
||||
{
|
||||
await Task.Delay(10);
|
||||
await Task.Delay(100);
|
||||
Text = $"Flowframes " + Updater.GetInstalledVerStr();
|
||||
await Updater.UpdateModelList(); // Update AI model list
|
||||
await Updater.AsyncUpdateCheck(); // Check for Flowframes updates
|
||||
|
||||
Reference in New Issue
Block a user