mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
tray: cleanup code (#7011)
This commit is contained in:
parent
b0e5c2e7a9
commit
cd239498c0
1 changed files with 1 additions and 8 deletions
|
@ -145,14 +145,7 @@ namespace Jackett.Tray
|
|||
{
|
||||
get
|
||||
{
|
||||
if (File.Exists(ShortcutPath) || File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Startup), "Jackett.lnk")))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return File.Exists(ShortcutPath) || File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Startup), "Jackett.lnk"));
|
||||
}
|
||||
set
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue