Jackett Tray: Hide from ALT + TAB

https://github.com/Jackett/Jackett/issues/1959
This commit is contained in:
flightlevel 2018-07-22 22:03:04 +10:00
parent b5178dc7b8
commit f335dbf7bc
3 changed files with 4 additions and 3 deletions

View File

@ -42,7 +42,6 @@
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Net.Http.WebRequest" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
@ -53,7 +52,6 @@
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>

View File

@ -30,6 +30,9 @@ namespace Jackett.Tray
Hide();
InitializeComponent();
WindowState = FormWindowState.Minimized;
FormBorderStyle = FormBorderStyle.FixedToolWindow;
RuntimeSettings runtimeSettings = new RuntimeSettings()
{
CustomLogFileName = "TrayLog.txt"

View File

@ -39,7 +39,7 @@ namespace Jackett.Tray
}
});
}
catch (Exception e)
catch (Exception)
{
newVersion = "";
}