|
@@ -28,13 +28,20 @@ namespace FCS.Crawler
|
|
|
/// </summary>
|
|
|
private static void Main()
|
|
|
{
|
|
|
+
|
|
|
+#if DEBUG
|
|
|
+ GamesJob dd = new GamesJob();
|
|
|
+ dd.Click();
|
|
|
+ JobManage job = new JobManage();
|
|
|
+ job.JobStart();
|
|
|
+#else
|
|
|
ServiceBase[] ServicesToRun;
|
|
|
ServicesToRun = new ServiceBase[]
|
|
|
{
|
|
|
new Service1()
|
|
|
};
|
|
|
- ServiceBase.Run(ServicesToRun);
|
|
|
-
|
|
|
+ ServiceBase.Run(ServicesToRun);
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
|