Exemple #1
0
 public UpdaterData(DateTime creationTime, Version version, string downloadURL, string changelogURL, bool mandatory, Checksum checksum, string commandLineArguments, List <PostUpdateActionData> postUpdate, List <MessageBoxData> messageBoxes, AutoUpdaterDotNET.Mode updateMode)
     : this(Strings.Updater_JSON_URL, UpdaterDataTypeFormat.JavaScriptObjectNotation, checksum, mandatory, downloadURL, version, changelogURL, commandLineArguments)
 {
     /*Mandatory = mandatory;
      * Version = version;
      * DownloadURL = downloadURL;
      * ChangelogURL = changelogURL;
      * CommandLineArguments = commandlineArgs;
      * Checksum = checksum;*/
     CreationTime = creationTime;
     logger.Debug("Creation time set to: " + CreationTime);
     PostUpdate = postUpdate;
     logger.Debug("PostUpdate list updated, check json for more info.");
     MessageBoxes = messageBoxes;
     logger.Debug("MessageBox list updated, check json for more info.");
     UpdateMode = updateMode;
     logger.Debug("UpdateMode set to: " + UpdateMode);
 }
Exemple #2
0
 public UpdaterData(string fileName, UpdaterDataTypeFormat updaterDataType, Checksum checksum, bool mandatory, AutoUpdaterDotNET.Mode updateMode)
     : this(fileName, updaterDataType, checksum, mandatory, Strings.Updater_Download_URL_ZIP_LATEST_RELEASE, Program.Version, Strings.Updater_Changelog_URL)
 {
     UpdateMode = updateMode;
 }