wasStitchNET – Blame information for rev 13
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /////////////////////////////////////////////////////////////////////////// |
2 | // Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 // |
||
3 | // Please see: http://www.gnu.org/licenses/gpl.html for legal details, // |
||
4 | // rights of fair usage, the disclaimer and warranty conditions. // |
||
5 | /////////////////////////////////////////////////////////////////////////// |
||
6 | |||
7 | using System.Net.Http.Headers; |
||
8 | using System.Reflection; |
||
9 | |||
10 | namespace wasStitchNET |
||
11 | { |
||
12 | public struct STITCH_CONSTANTS |
||
13 | { |
||
14 | public const string SERVER_IP_PATH = @"ip"; |
||
15 | public const string UPDATE_PATH = @"update"; |
||
16 | public const string PROGRESSIVE_PATH = @"progressive"; |
||
17 | public const string UPDATE_DATA_PATH = @"data"; |
||
18 | public const string UPDATE_OPTIONS_FILE = @"options.xml"; |
||
19 | public const string UPDATE_CHECKSUM_FILE = @"checksum.txt"; |
||
20 | public const string UPDATE_MIRRORS_FILE = @"mirrors.txt"; |
||
21 | public static readonly string STITCH_VERSION = Assembly.GetEntryAssembly().GetName().Version.ToString(); |
||
22 | |||
23 | public static readonly ProductInfoHeaderValue USER_AGENT = |
||
24 | new ProductInfoHeaderValue(Assembly.GetEntryAssembly().GetName().Name, STITCH_VERSION); |
||
25 | |||
26 | public const string GEOIP_CITY_DATABASE = @"GeoLite2-City.mmdb.gz"; |
||
27 | public const string GEOIP_UNKNOWN_COUNTRY = @"a galaxy far, far away..."; |
||
11 | office | 28 | |
29 | public const string OFFICIAL_UPDATE_SERVER = @"http://corrade.grimore.org"; |
||
13 | office | 30 | |
31 | public const string SERVICE_NAME = @"Stitch"; |
||
32 | public const string SERVICE_DESCRIPTION = @"The Stitch Software Update Service."; |
||
33 | public const string DATE_TIME_STAMP = @"dd-MM-yyyy HH:mm:ss"; |
||
34 | public const string LOG_FILE_PATH = @"logs/Stitch.log"; |
||
35 | |||
36 | public const int LOCAL_FILE_ACCESS_TIMEOUT = 60000; |
||
1 | office | 37 | } |
13 | office | 38 | } |