aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/fetcher/constants.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-14 13:01:29 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-16 18:17:20 +0100
commit7d9be3b50ea1d59d7a8767ea1feb86e0cda3d78d (patch)
tree15e83ed985643d0c2759bf6bafb837411f4cf43a /installer/fetcher/constants.h
parentinstaller: always pass program files via property (diff)
downloadwireguard-windows-7d9be3b50ea1d59d7a8767ea1feb86e0cda3d78d.tar.xz
wireguard-windows-7d9be3b50ea1d59d7a8767ea1feb86e0cda3d78d.zip
fetcher: introduce downloader utility
This seems easier than having to juggle 4 different architectures. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'installer/fetcher/constants.h')
-rw-r--r--installer/fetcher/constants.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/installer/fetcher/constants.h b/installer/fetcher/constants.h
new file mode 100644
index 00000000..57a28a20
--- /dev/null
+++ b/installer/fetcher/constants.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2020 Jason A. Donenfeld. All Rights Reserved.
+ */
+
+#ifndef _CONSTANTS_H
+#define _CONSTANTS_H
+
+#define release_public_key_base64 "RWRNqGKtBXftKTKPpBPGDMe8jHLnFQ0EdRy8Wg0apV6vTDFLAODD83G4"
+#define msi_arch_prefix "wireguard-%s-"
+#define msi_suffix ".msi"
+#define server "download.wireguard.com"
+#define port (443)
+#define latest_version_file "latest.sig"
+#define msi_path "/windows-client/"
+
+#endif