|
| 1 | +class Constants { |
| 2 | + static const appName = 'OpenRA Launcher'; |
| 3 | + static const iconSize = 32.0; |
| 4 | + static const iconSize2x = 64.0; |
| 5 | + static const iconSize3x = 96.0; |
| 6 | + static const spacing = 8.0; |
| 7 | + static const spacing2x = 16.0; |
| 8 | + static const tooltipWaitDuration = Duration(milliseconds: 600); |
| 9 | + static const officialModIds = ['cnc', 'd2k', 'ra']; |
| 10 | + static const modRepos = { |
| 11 | + 'openra': '/OpenRA/OpenRA', |
| 12 | + 'hv': '/OpenHV/OpenHV', |
| 13 | + 'sp': '/ABrandau/Shattered-Paradise-SDK', |
| 14 | + 'rv': '/MustaphaTR/Romanovs-Vengeance', |
| 15 | + 'ca': '/Inq8/CAmod', |
| 16 | + 'd2': '/OpenRA/d2', |
| 17 | + 'raclassic': '/OpenRA/raclassic', |
| 18 | + 'gen': '/MustaphaTR/Generals-Alpha', |
| 19 | + 'mtrsd2k2': '/MustaphaTR/MustaphaTR-s-D2K-Mod', |
| 20 | + 'ss': '/MustaphaTR/sole-survivor', |
| 21 | + 'sa': '/Dzierzan/OpenSA', |
| 22 | + 'cameo': '/Zeruel87/Cameo-mod', |
| 23 | + 'tda': '/KOYK/OpenRA-Tiberian-Dawn-Apolyton', |
| 24 | + }; |
| 25 | + static const githubApiUrl = 'https://api.github.com'; |
| 26 | + static const githubReposEndpoint = '/repos'; |
| 27 | + static const githubReleasesEndpoint = '/releases'; |
| 28 | + static const appRepo = '/dragunoff/OpenRA-Launcher'; |
| 29 | +} |
0 commit comments