rollback
This commit is contained in:
parent
9f51b6bcf3
commit
6f386111e8
2 changed files with 2 additions and 5 deletions
|
@ -11,8 +11,8 @@ Global
|
||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{1BF2468D-9579-462D-9153-4836E9C8721F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{1BF2468D-9579-462D-9153-4836E9C8721F}.Debug|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{1BF2468D-9579-462D-9153-4836E9C8721F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{1BF2468D-9579-462D-9153-4836E9C8721F}.Debug|Any CPU.Build.0 = Release|Any CPU
|
||||||
{1BF2468D-9579-462D-9153-4836E9C8721F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{1BF2468D-9579-462D-9153-4836E9C8721F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{1BF2468D-9579-462D-9153-4836E9C8721F}.Release|Any CPU.Build.0 = Release|Any CPU
|
{1BF2468D-9579-462D-9153-4836E9C8721F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
|
|
|
@ -18,7 +18,6 @@ namespace EnvyUpdate
|
||||||
string onlineDriv = null;
|
string onlineDriv = null;
|
||||||
readonly string appdata = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\envyupdate\\";
|
readonly string appdata = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\envyupdate\\";
|
||||||
readonly string startup = Environment.GetFolderPath(Environment.SpecialFolder.Startup);
|
readonly string startup = Environment.GetFolderPath(Environment.SpecialFolder.Startup);
|
||||||
readonly string startmenu = Environment.GetFolderPath(Environment.SpecialFolder.StartMenu);
|
|
||||||
string gpuURL = null;
|
string gpuURL = null;
|
||||||
readonly string exeloc = System.Reflection.Assembly.GetEntryAssembly().Location;
|
readonly string exeloc = System.Reflection.Assembly.GetEntryAssembly().Location;
|
||||||
bool isAtStartup = false;
|
bool isAtStartup = false;
|
||||||
|
@ -213,14 +212,12 @@ namespace EnvyUpdate
|
||||||
{
|
{
|
||||||
File.Copy(exeloc, appdata + "EnvyUpdateInstalled.exe", true);
|
File.Copy(exeloc, appdata + "EnvyUpdateInstalled.exe", true);
|
||||||
Util.CreateShortcut("EnvyUpdate", startup, appdata + "EnvyUpdateInstalled.exe", "Nvidia Updater Application.");
|
Util.CreateShortcut("EnvyUpdate", startup, appdata + "EnvyUpdateInstalled.exe", "Nvidia Updater Application.");
|
||||||
Util.CreateShortcut("EnvyUpdate", startmenu, appdata + "EnvyUpdateInstalled.exe", "Nvidia Updater Application.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void chkAutostart_Unchecked(object sender, RoutedEventArgs e)
|
private void chkAutostart_Unchecked(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
File.Delete(appdata + "EnvyUpdateInstalled.exe");
|
File.Delete(appdata + "EnvyUpdateInstalled.exe");
|
||||||
File.Delete(startup + "\\EnvyUpdate.lnk");
|
File.Delete(startup + "\\EnvyUpdate.lnk");
|
||||||
File.Delete(startmenu + "\\EnvyUpdate.lnk");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
||||||
|
|
Reference in a new issue