示例#1
0
文件: Program.cs 项目: dimkas/stuff
        static void Main(string[] args)
        {
            try
            {
                Tracer.WriteLineInfo("GobiLoader for Windows 7\n---------------------------------------\n");

                Config.GobiLoaderConfiguration config = ConfigurationManager.GetSection("gobiLoader") as Config.GobiLoaderConfiguration;
                GobiLoader loader = new GobiLoader(config);
                loader.LoadFirmware();

                Tracer.WriteLineInfo("Done...");
            }
            catch (Exception ex) { Tracer.WriteLineError("!Boom: " + ex.Message); }

            Console.WriteLine("Press the any key to continue...");
            Console.ReadKey();
        }
示例#2
0
 public GobiLoader(Config.GobiLoaderConfiguration config)
 {
     _config = config;
 }