Example #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;
     }
 }
Example #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;
 }
Example #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;
            }
        }
Example #4
0
 public AppInstallerConfig2018(AppInstallerConfig config) : base(config)
 {
 }