wasStitchNET – Blame information for rev 21
?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 | { |
||
21 | office | 12 | public static class STITCH_CONSTANTS |
1 | office | 13 | { |
14 | public const string SERVER_IP_PATH = @"ip"; |
||
15 | public const string UPDATE_PATH = @"update"; |
||
14 | office | 16 | public const string LATEST_RELEASE_PATH = @"latest"; |
1 | office | 17 | public const string PROGRESSIVE_PATH = @"progressive"; |
18 | public const string UPDATE_DATA_PATH = @"data"; |
||
19 | public const string UPDATE_OPTIONS_FILE = @"options.xml"; |
||
20 | public const string UPDATE_CHECKSUM_FILE = @"checksum.txt"; |
||
21 | public const string UPDATE_MIRRORS_FILE = @"mirrors.txt"; |
||
22 | public static readonly string STITCH_VERSION = Assembly.GetEntryAssembly().GetName().Version.ToString(); |
||
23 | |||
24 | public static readonly ProductInfoHeaderValue USER_AGENT = |
||
25 | new ProductInfoHeaderValue(Assembly.GetEntryAssembly().GetName().Name, STITCH_VERSION); |
||
26 | |||
27 | public const string GEOIP_CITY_DATABASE = @"GeoLite2-City.mmdb.gz"; |
||
28 | public const string GEOIP_UNKNOWN_COUNTRY = @"a galaxy far, far away..."; |
||
11 | office | 29 | |
17 | office | 30 | public const string OFFICIAL_UPDATE_SERVER = @"https://corrade.grimore.org"; |
13 | office | 31 | |
32 | public const string SERVICE_NAME = @"Stitch"; |
||
33 | public const string SERVICE_DESCRIPTION = @"The Stitch Software Update Service."; |
||
34 | public const string DATE_TIME_STAMP = @"dd-MM-yyyy HH:mm:ss"; |
||
35 | public const string LOG_FILE_PATH = @"logs/Stitch.log"; |
||
36 | |||
21 | office | 37 | public const string WORKING_CONFIGURATION_FILE = @"Configuration.xml"; |
38 | public const string DEFAULT_CONFIGURATION_FILE = @"Configuration.xml.default"; |
||
39 | public const string BACKUP_CONFIGURATION_FILE = @"Configuration.xml.bak"; |
||
40 | |||
13 | office | 41 | public const int LOCAL_FILE_ACCESS_TIMEOUT = 60000; |
1 | office | 42 | } |
13 | office | 43 | } |