Rome Online White Labelling.
This commit is contained in:
@@ -9,7 +9,7 @@ using Microsoft.Win32.TaskScheduler;
|
||||
using System.IO;
|
||||
|
||||
|
||||
namespace BodyshopPartner.Utils
|
||||
namespace RomeOnlinePartner.Utils
|
||||
{
|
||||
public static class SquirrelAwareHelper
|
||||
{
|
||||
@@ -69,10 +69,10 @@ namespace BodyshopPartner.Utils
|
||||
//The paint scale accidentally got added to all people running v31. This was added to remove it.
|
||||
try
|
||||
{
|
||||
Microsoft.Win32.TaskScheduler.Task existingTask = TaskService.Instance.FindTask("ImEX Online Partner - Paint Scale Connection");
|
||||
Microsoft.Win32.TaskScheduler.Task existingTask = TaskService.Instance.FindTask("Rome Online Partner - Paint Scale Connection");
|
||||
if (existingTask != null)
|
||||
{
|
||||
TaskService.Instance.RootFolder.DeleteTask("ImEX Online Partner - Paint Scale Connection");
|
||||
TaskService.Instance.RootFolder.DeleteTask("Rome Online Partner - Paint Scale Connection");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -150,10 +150,10 @@ namespace BodyshopPartner.Utils
|
||||
mgr.RemoveShortcutForThisExe();
|
||||
try
|
||||
{
|
||||
Microsoft.Win32.TaskScheduler.Task existingTask = TaskService.Instance.FindTask("ImEX Online Partner - Paint Scale Connection Export"); //This is the old scale path. This was accidentally added for everyone.
|
||||
Microsoft.Win32.TaskScheduler.Task existingTask = TaskService.Instance.FindTask("Rome Online Partner - Paint Scale Connection Export"); //This is the old scale path. This was accidentally added for everyone.
|
||||
if (existingTask != null)
|
||||
{
|
||||
TaskService.Instance.RootFolder.DeleteTask("ImEX Online Partner - Paint Scale Connection");
|
||||
TaskService.Instance.RootFolder.DeleteTask("Rome Online Partner - Paint Scale Connection");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -162,10 +162,10 @@ namespace BodyshopPartner.Utils
|
||||
}
|
||||
try
|
||||
{
|
||||
Microsoft.Win32.TaskScheduler.Task existingTask = TaskService.Instance.FindTask("ImEX Online Partner - Paint Scale Connection Export");
|
||||
Microsoft.Win32.TaskScheduler.Task existingTask = TaskService.Instance.FindTask("Rome Online Partner - Paint Scale Connection Export");
|
||||
if (existingTask != null)
|
||||
{
|
||||
TaskService.Instance.RootFolder.DeleteTask("ImEX Online Partner - Paint Scale Connection Export");
|
||||
TaskService.Instance.RootFolder.DeleteTask("Rome Online Partner - Paint Scale Connection Export");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -174,10 +174,10 @@ namespace BodyshopPartner.Utils
|
||||
}
|
||||
try
|
||||
{
|
||||
Microsoft.Win32.TaskScheduler.Task existingTask = TaskService.Instance.FindTask("ImEX Online Partner - ARMS");
|
||||
Microsoft.Win32.TaskScheduler.Task existingTask = TaskService.Instance.FindTask("Rome Online Partner - ARMS");
|
||||
if (existingTask != null)
|
||||
{
|
||||
TaskService.Instance.RootFolder.DeleteTask("ImEX Online Partner - ARMS");
|
||||
TaskService.Instance.RootFolder.DeleteTask("Rome Online Partner - ARMS");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user