Exemplo n.º 1
0
 public AppInstallerConfig20172(AppInstallerConfig config) : base(config)
 {
     if (this.UpdateSettings?.OnLaunch != null)
     {
         // Available from 2018/0
         this.UpdateSettings.OnLaunch.UpdateBlocksActivation = false;
         this.UpdateSettings.OnLaunch.ShowPrompt             = false;
     }
 }
Exemplo n.º 2
0
 public AppInstallerConfig(AppInstallerConfig config)
 {
     this.MainPackage    = config.MainPackage;
     this.MainBundle     = config.MainBundle;
     this.Version        = config.Version;
     this.Dependencies   = config.Dependencies;
     this.Uri            = config.Uri;
     this.Optional       = config.Optional;
     this.Related        = config.Related;
     this.UpdateSettings = config.UpdateSettings;
 }
Exemplo n.º 3
0
        public AppInstallerConfig2017(AppInstallerConfig config) : base(config)
        {
            if (this.UpdateSettings?.OnLaunch != null)
            {
                // Available from 2018/0
                this.UpdateSettings.OnLaunch.UpdateBlocksActivation = false;
                this.UpdateSettings.OnLaunch.ShowPrompt             = false;
            }

            if (this.UpdateSettings?.AutomaticBackgroundTask != null)
            {
                // Available from 2017/2
                this.UpdateSettings.AutomaticBackgroundTask = null;
            }

            if (this.UpdateSettings?.ForceUpdateFromAnyVersion != null)
            {
                // Available from 2017/2
                this.UpdateSettings.ForceUpdateFromAnyVersion = false;
            }
        }
Exemplo n.º 4
0
 public AppInstallerConfig2018(AppInstallerConfig config) : base(config)
 {
 }