diff --git a/AppResource.Designer.cs b/AppResource.Designer.cs index 4512104..d8d9b33 100644 --- a/AppResource.Designer.cs +++ b/AppResource.Designer.cs @@ -60,6 +60,15 @@ namespace FizzyLauncher { } } + /// + /// Looks up a localized string similar to https://www.hiimray.co.uk/software-fizzy-launcher. + /// + internal static string AppHelpURL { + get { + return ResourceManager.GetString("AppHelpURL", resourceCulture); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/AppResource.resx b/AppResource.resx index f5bec56..2992e4e 100644 --- a/AppResource.resx +++ b/AppResource.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + https://www.hiimray.co.uk/software-fizzy-launcher + Resources\folder_32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/MainForm.cs b/MainForm.cs index a182ece..9ee27e4 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -4,6 +4,7 @@ using RyzStudio.Windows.Forms; using System; using System.Collections.Generic; using System.ComponentModel; +using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices; @@ -674,7 +675,11 @@ namespace FizzyLauncher { try { - System.Diagnostics.Process.Start("https://www.hiimray.co.uk/software-fizzy-launcher"); + System.Diagnostics.Process.Start(new ProcessStartInfo() + { + FileName = AppResource.AppHelpURL, + UseShellExecute = true + }); } catch { diff --git a/Windows/Forms/TilePanel.cs b/Windows/Forms/TilePanel.cs index 4d6aafb..439ac38 100644 --- a/Windows/Forms/TilePanel.cs +++ b/Windows/Forms/TilePanel.cs @@ -360,6 +360,7 @@ namespace FizzyLauncher.Windows.Forms ProcessStartInfo p = new ProcessStartInfo(); p.FileName = model.CleanProcessFilename; p.WindowStyle = model.ProcessWindowStyle; + p.UseShellExecute = true; if (!string.IsNullOrWhiteSpace(model.CleanProcessArgument)) { @@ -373,7 +374,6 @@ namespace FizzyLauncher.Windows.Forms if (model.ProcessAsAdmin) { - p.UseShellExecute = true; p.Verb = "runas"; }