Commit graph

10 commits

Author SHA1 Message Date
Daniel
0e5eb4b6de Add support for signed updates 2022-09-23 14:57:42 +02:00
Daniel
6650fb3b19 Update linter settings and fix warnings 2022-02-02 14:58:27 +01:00
Daniel
f59ad0357a Fix tests and linter warnings 2022-02-01 13:12:46 +01:00
Daniel
f6ec0514ff Use forked renameio package 2021-05-13 17:42:29 +02:00
Daniel
26f54ffbb9 Add User-Agent to request made by the registry 2020-07-23 12:16:44 +02:00
Daniel
02bb6d1d9b Use context for network connections in updater 2020-07-21 15:04:05 +02:00
Patrick Pacher
9d7fd1235d
Add support for custom index files.
This commit changes the updater package to support custom
index files by callling registry.AddIndex(). Note that the
previously hard-coded index files stable.json and beta.json
have been removed and must be added by using AddIndex() prior
to calling LoadIndexes().
2020-05-04 10:32:50 +02:00
ppacher
8a18810c66 Do not ingore HTTP status code when fetching files 2020-04-07 10:50:56 +02:00
Daniel
97f001d7d7 Update linter settings and fix some linter hints 2019-10-07 16:45:03 +02:00
Daniel
f1aacc5d45 Move portmaster/updates to portbase/updater, transform to lib 2019-10-07 16:13:35 +02:00