Update ScreenMatch.cs, ServiceMain.cs

This commit is contained in:
Namhyeon Go 2024-09-20 10:32:43 +09:00
parent c0e42480e0
commit 8734f3f24a
2 changed files with 7 additions and 4 deletions

View File

@ -150,8 +150,8 @@ public class ScreenMatch
sampleNodup = new List<string>();
sampleNodupSize = new Size
{
Width = 128,
Height = 64
Width = 256,
Height = 32
};
sampleOutdated = new Queue<Bitmap>();

View File

@ -245,11 +245,14 @@ namespace WelsonJS.Service
scriptControl.AddCode(scriptText);
// initialize
Log(DispatchServiceEvent("start"));
Log(DispatchServiceEvent("start", new string[]
{
Environment.UserInteractive.ToString().ToLower()
}));
}
catch (Exception ex)
{
Log("Exception when start: " + ex.Message);
Log($"Failed to start because of {ex.Message}");
}
}
else