Update MainWindow.xaml.cs
This commit is contained in:
parent
20020b91ee
commit
d7ccddd0ec
1 changed files with 0 additions and 2 deletions
|
@ -22,7 +22,6 @@ namespace EnvyUpdate
|
||||||
private readonly string exepath = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) + "\\";
|
private readonly string exepath = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location) + "\\";
|
||||||
private readonly string startmenu = Environment.GetFolderPath(Environment.SpecialFolder.StartMenu);
|
private readonly string startmenu = Environment.GetFolderPath(Environment.SpecialFolder.StartMenu);
|
||||||
private readonly string version = "1.4";
|
private readonly string version = "1.4";
|
||||||
readonly string over = Util.GetNewVer();
|
|
||||||
|
|
||||||
public MainWindow()
|
public MainWindow()
|
||||||
{
|
{
|
||||||
|
@ -39,7 +38,6 @@ namespace EnvyUpdate
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(appdata);
|
Directory.CreateDirectory(appdata);
|
||||||
}
|
}
|
||||||
MessageBox.Show(over);
|
|
||||||
// Check if application is in Autorun mode and update
|
// Check if application is in Autorun mode and update
|
||||||
if (exepath == appdata)
|
if (exepath == appdata)
|
||||||
{
|
{
|
||||||
|
|
Reference in a new issue