mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-14 09:23:17 +12:00
This commit is contained in:
parent
c219720685
commit
9725c092e9
|
@ -19,8 +19,8 @@ namespace SystemTrayMenu
|
|||
try
|
||||
{
|
||||
bool killOtherInstances = true;
|
||||
if (args != null && args.Length > 0 &&
|
||||
(args[0] == "-h" || args[0] == "-hotkey"))
|
||||
bool isArgumentSetToRestart = args != null && args.Length > 0 && args[0] == "-r";
|
||||
if (!isArgumentSetToRestart)
|
||||
{
|
||||
args = null;
|
||||
killOtherInstances = false;
|
||||
|
|
|
@ -62,7 +62,7 @@ namespace SystemTrayMenu
|
|||
|
||||
public static void SetFolderByWindowsContextMenu(string[] args)
|
||||
{
|
||||
if (args != null && args.Length > 0)
|
||||
if (args != null && args.Length > 0 && args[0] != "-r")
|
||||
{
|
||||
string path = args[0];
|
||||
Log.Info($"SetFolderByWindowsContextMenu() path: {path}");
|
||||
|
|
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.2.2.10")]
|
||||
[assembly: AssemblyFileVersion("1.2.2.10")]
|
||||
[assembly: AssemblyVersion("1.2.2.11")]
|
||||
[assembly: AssemblyFileVersion("1.2.2.11")]
|
||||
|
|
Loading…
Reference in a new issue