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(); } }
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(); } }
public File(Package parent) { this.Package = parent; }