| | |
| | | LogOut.Info("开始运行.."); |
| | | bool isTest = "1" == ConfigurationManager.AppSettings["isTest"]; |
| | | |
| | | this.fly = ConfigurationManager.AppSettings["fly"] ?? ConfigurationManager.AppSettings["testFly"]; |
| | | this.fly = getFly(); |
| | | /*this.fly = ConfigurationManager.AppSettings["fly"] ?? ConfigurationManager.AppSettings["testFly"]; |
| | | if (!this.fly.Contains(":\\")) this.fly = Path.Combine(Application.StartupPath, this.fly); |
| | | if (!File.Exists(this.fly)) |
| | | { |
| | | LogOut.Error("Fly文件不存在:" + this.fly); |
| | | return; |
| | | } |
| | | }*/ |
| | | |
| | | SG = new SGWorld71(); |
| | | SG.OnLoadFinished += SG_OnLoadFinished; |