Skip to content

Commit 96feca0

Browse files
committed
Fixed a bug, changed a version number.
1 parent 704acb0 commit 96feca0

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

SmartSystemMenu/Code/Forms/MainForm.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,16 @@ private void WindowCreated(object sender, WindowEventArgs e)
261261
}
262262
foreach (var window in windows)
263263
{
264-
var processName = Path.GetFileName(window.Process.MainModule.FileName);
265-
if (ProcessExclusions.Contains(processName.ToLower()))
264+
try
265+
{
266+
var processName = Path.GetFileName(window.Process.MainModule.FileName);
267+
if (ProcessExclusions.Contains(processName.ToLower()))
268+
{
269+
continue;
270+
}
271+
}
272+
catch
266273
{
267-
continue;
268274
}
269275
window.Menu.Create();
270276
Int32 menuItemId = window.ProcessPriority.GetMenuItemId();

SmartSystemMenu/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.1.*")]
35+
[assembly: AssemblyVersion("1.2.*")]
3636
//[assembly: AssemblyFileVersion("1.0.0.38")]

0 commit comments

Comments
 (0)