Commit Graph
21 Commits
Author SHA1 Message Date
Kenneth Skovhede a1a4042198 Added support for having multiple valid keys for a manifest 2024-03-27 11:24:49 +01:00
Kenneth Skovhede 115e887802 Implemented new updater logic that supports multi-arch distributions. 2024-03-15 14:18:56 +01:00
Kenneth Skovhede 473c6cbbb8 Merge commit '4f577c65a4d8806f79637c50c21ca3a683c5a07a' into feature/kestrel-avalonia-upgrade 2024-03-04 12:21:53 +01:00
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
Max 41a5591532 upstream 2019-12-25 16:34:56 +01:00
Kenneth Hsu 2aa76881a5 Mark fields that don't need to be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2019-10-19 13:59:22 -07:00
BlueBlock 1c28cf0b15 refactor AutoUpdater to an exe and a library 2019-09-06 16:57:44 -04:00
verhoek ae5d6ffcc7 Added option to generate new priv/pub key pair without verifying the manifest. 2018-12-23 20:32:21 +01:00
Kenneth Hsu 07c1d85b4a Remove empty statements. 2018-10-10 21:22:31 -07:00
Tyler Gill 83a1dcfb64 Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.

For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00
Kenneth Skovhede c5be6a1652 Added release type to update manager to avoid relying on a valid manifest for the install 2016-04-26 10:32:21 +02:00
Kenneth Skovhede d4257f877d Added overrides to allow OEM provided values for auto-update settings 2016-04-23 08:13:40 +02:00
Kenneth Skovhede e11a59a4fa Fix the mapping for pre-update channel releases 2016-03-13 12:54:30 +01:00
Kenneth Skovhede 045f4caacb Added detection of channel by parsing custom updater urls 2016-03-13 12:27:33 +01:00
Kenneth Skovhede e0237b5309 Implemented two new build channels: beta and canary.
Updated build system to allow building various types of releases.
2016-03-11 22:55:32 +01:00
Kenneth Skovhede 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede ef3a62bf72 Changed the default for auto-update to be notify instead of install.
Added the --auto-update option to the commandline to allow automatic updates.
Added a new Duplicati.Library.AutoUpdater.exe tool to work with updates, especially handy if the update breaks the install and for manual handling of updates.
2014-08-17 15:45:44 +02:00
Kenneth Skovhede 8c75afb5b8 Bugfix for the ID property 2014-07-15 21:57:45 +02:00
Kenneth Skovhede 2ba86487ab Added install-id and user-agent to updater requests 2014-07-09 21:16:51 +02:00
Kenneth Skovhede 9841dbc7ac Updated the autoupdater to use a static instance and fixed a number of paths to use the base dir.
Added a current pointer-file to allow running with a version that is not the newest.
Updater is now working except for OSX, where the bundle setup is causing issues when running the loaded instance.
2014-07-03 11:01:49 +02:00