Restore taskbar
This commit is contained in:
@@ -95,7 +95,8 @@ namespace BodyshopPartner.Utils
|
||||
logger.Debug("Install Progress " + _.ToString());
|
||||
InstallProgress(_);
|
||||
});
|
||||
UpdateManager.RestartApp(System.Reflection.Assembly.GetEntryAssembly().Location);
|
||||
logger.Debug("Attempting to restart application. " + System.Reflection.Assembly.GetEntryAssembly().Location);
|
||||
UpdateManager.RestartApp();
|
||||
}
|
||||
catch (Exception Ex)
|
||||
{
|
||||
@@ -106,6 +107,22 @@ namespace BodyshopPartner.Utils
|
||||
|
||||
}
|
||||
|
||||
public static void test()
|
||||
{
|
||||
using (var updateManager = new UpdateManager(UpdatePath))
|
||||
{
|
||||
try
|
||||
{
|
||||
UpdateManager.RestartApp();
|
||||
}
|
||||
catch (Exception Ex)
|
||||
{
|
||||
logger.Error("Error updating Partner App. " + Ex.ToString());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public static void BackupSettings()
|
||||
{
|
||||
string settingsFile = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal).FilePath;
|
||||
|
||||
Reference in New Issue
Block a user