working towards 2.0

there is a bug in my gpu detection code somewhere but i don't have an nvidia gpu right now to debug it.
hmm.
This commit is contained in:
fyr77 2020-08-03 19:54:08 +02:00
parent ae4a661959
commit 5f56d07f19
13 changed files with 620 additions and 107 deletions

View file

@ -1,14 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace EnvyUpdate
{
class GlobalVars
{
public static string gpuName = null;
public static bool mobile = false;
public static bool isMobile = false;
public static readonly string exeloc = System.Reflection.Assembly.GetEntryAssembly().Location;
public static readonly string exepath = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) + "\\";
public static readonly string startmenu = Environment.GetFolderPath(Environment.SpecialFolder.StartMenu);
public static readonly string version = "2.0";
public static readonly string appdata = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\envyupdate\\";
public static readonly string startup = Environment.GetFolderPath(Environment.SpecialFolder.Startup);
public static readonly string desktopOverride = exepath + "desktop.envy";
public static readonly string mobileOverride = exepath + "mobile.envy";
}
}