[PT Settings] Opening windows color settings from inside PT (#9589)

This commit is contained in:
Seraphima Zykova
2021-02-09 14:11:51 +03:00
committed by GitHub
parent 6213e0a116
commit 21abb6fd09
8 changed files with 37 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
namespace Microsoft.PowerToys.Settings.UI.Helpers
{
public static class StartProcessHelper
{
public const string ColorsSettings = "ms-settings:colors";
public static void Start(string process)
{
Process.Start(new ProcessStartInfo(process) { UseShellExecute = true });
}
}
}