mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-11-30 03:14:38 +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>();
|
sampleNodup = new List<string>();
|
||||||
sampleNodupSize = new Size
|
sampleNodupSize = new Size
|
||||||
{
|
{
|
||||||
Width = 128,
|
Width = 256,
|
||||||
Height = 64
|
Height = 32
|
||||||
};
|
};
|
||||||
sampleOutdated = new Queue<Bitmap>();
|
sampleOutdated = new Queue<Bitmap>();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -245,11 +245,14 @@ namespace WelsonJS.Service
|
||||||
scriptControl.AddCode(scriptText);
|
scriptControl.AddCode(scriptText);
|
||||||
|
|
||||||
// initialize
|
// initialize
|
||||||
Log(DispatchServiceEvent("start"));
|
Log(DispatchServiceEvent("start", new string[]
|
||||||
|
{
|
||||||
|
Environment.UserInteractive.ToString().ToLower()
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Log("Exception when start: " + ex.Message);
|
Log($"Failed to start because of {ex.Message}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user