mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-03 12:03:09 +12:00
[BUG] Fix Duplicate file/folder name causes unexpected result on opening (#434), version 1.3.0.15
This commit is contained in:
parent
8f1d04a66c
commit
1a9da04f78
|
@ -45,7 +45,7 @@ namespace SystemTrayMenu.DataClasses
|
|||
try
|
||||
{
|
||||
FileInfo = new FileInfo(path.Replace("\x00", string.Empty));
|
||||
Path = FileInfo.FullName;
|
||||
Path = IsFolder ? $@"{FileInfo.FullName}\" : FileInfo.FullName;
|
||||
FileExtension = System.IO.Path.GetExtension(Path);
|
||||
IsLink = FileExtension.Equals(".lnk", StringComparison.InvariantCultureIgnoreCase);
|
||||
if (IsLink)
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
namespace SystemTrayMenu.Helper
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
internal class WindowsExplorerSort : IComparer<string>
|
||||
{
|
||||
|
|
|
@ -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.3.0.14")]
|
||||
[assembly: AssemblyFileVersion("1.3.0.14")]
|
||||
[assembly: AssemblyVersion("1.3.0.15")]
|
||||
[assembly: AssemblyFileVersion("1.3.0.15")]
|
||||
|
|
|
@ -8,7 +8,6 @@ namespace SystemTrayMenu.UserInterface
|
|||
using System.Windows.Forms;
|
||||
using SystemTrayMenu.Helper;
|
||||
using SystemTrayMenu.Utilities;
|
||||
using Timer = System.Windows.Forms.Timer;
|
||||
|
||||
internal class AppNotifyIcon : IDisposable
|
||||
{
|
||||
|
|
|
@ -7,7 +7,6 @@ namespace SystemTrayMenu.UserInterface
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
|
|
|
@ -11,9 +11,7 @@ namespace SystemTrayMenu.Utilities
|
|||
using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using SystemTrayMenu.DllImports;
|
||||
|
||||
|
|
Loading…
Reference in a new issue