mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 02:06:36 +02:00
[MWB]Update the service's path on a new install (#27361)
* [MWB]Update service path between installs * Show only the new message forcibly
This commit is contained in:
@@ -46,6 +46,8 @@ namespace MouseWithoutBorders.Class
|
||||
|
||||
private static readonly string ServiceModeArg = "UseService";
|
||||
|
||||
public static bool ShowServiceModeErrorTooltip;
|
||||
|
||||
[STAThread]
|
||||
private static void Main()
|
||||
{
|
||||
@@ -98,6 +100,7 @@ namespace MouseWithoutBorders.Class
|
||||
{
|
||||
Common.Log("Couldn't start the service. Will try to continue as not a service.");
|
||||
Common.Log(ex);
|
||||
ShowServiceModeErrorTooltip = true;
|
||||
serviceMode = false;
|
||||
Setting.Values.UseService = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user