Changed: shell execute processes as default + help URL in resource
This commit is contained in:
parent
4e0e028bfb
commit
614f0fc613
9
AppResource.Designer.cs
generated
9
AppResource.Designer.cs
generated
@ -60,6 +60,15 @@ namespace FizzyLauncher {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to https://www.hiimray.co.uk/software-fizzy-launcher.
|
||||||
|
/// </summary>
|
||||||
|
internal static string AppHelpURL {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("AppHelpURL", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -117,6 +117,9 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
|
<data name="AppHelpURL" xml:space="preserve">
|
||||||
|
<value>https://www.hiimray.co.uk/software-fizzy-launcher</value>
|
||||||
|
</data>
|
||||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
<data name="folder_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="folder_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>Resources\folder_32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>Resources\folder_32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
@ -4,6 +4,7 @@ using RyzStudio.Windows.Forms;
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
@ -674,7 +675,11 @@ namespace FizzyLauncher
|
|||||||
{
|
{
|
||||||
try
|
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
|
catch
|
||||||
{
|
{
|
||||||
|
@ -360,6 +360,7 @@ namespace FizzyLauncher.Windows.Forms
|
|||||||
ProcessStartInfo p = new ProcessStartInfo();
|
ProcessStartInfo p = new ProcessStartInfo();
|
||||||
p.FileName = model.CleanProcessFilename;
|
p.FileName = model.CleanProcessFilename;
|
||||||
p.WindowStyle = model.ProcessWindowStyle;
|
p.WindowStyle = model.ProcessWindowStyle;
|
||||||
|
p.UseShellExecute = true;
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(model.CleanProcessArgument))
|
if (!string.IsNullOrWhiteSpace(model.CleanProcessArgument))
|
||||||
{
|
{
|
||||||
@ -373,7 +374,6 @@ namespace FizzyLauncher.Windows.Forms
|
|||||||
|
|
||||||
if (model.ProcessAsAdmin)
|
if (model.ProcessAsAdmin)
|
||||||
{
|
{
|
||||||
p.UseShellExecute = true;
|
|
||||||
p.Verb = "runas";
|
p.Verb = "runas";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user