mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-11-29 10:53:43 +00:00
Update ScreenMatch.cs, ServiceMain.cs
This commit is contained in:
parent
c0e42480e0
commit
8734f3f24a
|
|
@ -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>();
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user