mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
tray: cleanup code (#7011)
This commit is contained in:

committed by
garfield69

parent
b0e5c2e7a9
commit
cd239498c0
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user