Ejemplo n.º 1
0
 public void InitUpdater()
 {
     if (Lfx.Updates.Updater.Master == null && this.WebAppMode == false && this.DebugMode == false)
     {
         string Nivel = this.CurrentConfig.ReadGlobalSetting <string>("Sistema.Actualizaciones.Nivel", "stable");
         string Url   = this.CurrentConfig.ReadGlobalSetting <string>("Sistema.Actualizaciones.Url", @"http://www.lazarogestion.com/aslnlwc/{0}/");
         Lfx.Updates.Updater.Master          = new Updates.Updater(Nivel);
         Lfx.Updates.Updater.Master.Path     = Lfx.Environment.Folders.ApplicationFolder;
         Lfx.Updates.Updater.Master.TempPath = Lfx.Environment.Folders.UpdatesFolder;
         Lfx.Updates.Package LazaroPkg = new Updates.Package();
         LazaroPkg.Name         = "Lazaro";
         LazaroPkg.RelativePath = "";
         LazaroPkg.Url          = Url;
         Lfx.Updates.Updater.Master.Packages.Add(LazaroPkg);
         Lfx.Updates.Updater.Master.Start();
     }
 }
Ejemplo n.º 2
0
 public void InitUpdater()
 {
         if (Lfx.Updates.Updater.Master == null && this.WebAppMode == false && this.DebugMode == false) {
                 string Nivel = this.CurrentConfig.ReadGlobalSetting<string>("Sistema.Actualizaciones.Nivel", "stable");
                 string Url = this.CurrentConfig.ReadGlobalSetting<string>("Sistema.Actualizaciones.Url", @"http://www.lazarogestion.com/aslnlwc/{0}/");
                 Lfx.Updates.Updater.Master = new Updates.Updater(Nivel);
                 Lfx.Updates.Updater.Master.Path = Lfx.Environment.Folders.ApplicationFolder;
                 Lfx.Updates.Updater.Master.TempPath = Lfx.Environment.Folders.UpdatesFolder;
                 Lfx.Updates.Package LazaroPkg = new Updates.Package();
                 LazaroPkg.Name = "Lazaro";
                 LazaroPkg.RelativePath = "";
                 LazaroPkg.Url = Url;
                 Lfx.Updates.Updater.Master.Packages.Add(LazaroPkg);
                 Lfx.Updates.Updater.Master.Start();
         }
 }
Ejemplo n.º 3
0
 public File(Package parent)
 {
         this.Package = parent;
 }