aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/updater/constants.go
diff options
context:
space:
mode:
Diffstat (limited to 'updater/constants.go')
-rw-r--r--updater/constants.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/updater/constants.go b/updater/constants.go
index 2ae78c8d..cf0ced92 100644
--- a/updater/constants.go
+++ b/updater/constants.go
@@ -1,14 +1,17 @@
/* SPDX-License-Identifier: MIT
*
- * Copyright (C) 2019 WireGuard LLC. All Rights Reserved.
+ * Copyright (C) 2019-2022 WireGuard LLC. All Rights Reserved.
*/
package updater
const (
releasePublicKeyBase64 = "RWRNqGKtBXftKTKPpBPGDMe8jHLnFQ0EdRy8Wg0apV6vTDFLAODD83G4"
- latestVersionURL = "https://download.wireguard.com/windows-client/latest.sig"
- msiURL = "https://download.wireguard.com/windows-client/%s"
+ updateServerHost = "download.wireguard.com"
+ updateServerPort = 443
+ updateServerUseHttps = true
+ latestVersionPath = "/windows-client/latest.sig"
+ msiPath = "/windows-client/%s"
msiArchPrefix = "wireguard-%s-"
msiSuffix = ".msi"
)