-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathManagement.cs
30 lines (27 loc) · 981 Bytes
/
Management.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Security.Policy;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using GameLauncher.Connections;
using IGDB.Models;
namespace GameLauncher
{
internal static class Management
{
public static IGDBObj IGDBObj;
public static RichPresence RichPresence;
public static bool Running = true;
public static bool Online = true;
public static readonly Version Version = Assembly.GetEntryAssembly()!.GetName().Version!;
public static readonly string VersionString = Version.ToString(3);
public static readonly string ExecutablePath = Environment.ProcessPath!;
public static Config Config;
public static bool IGDBViable => !string.IsNullOrEmpty(Config.IGDBId) && !string.IsNullOrEmpty(Config.IGDBSecret);
}
}