mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
AppPath tweak
This commit is contained in:
parent
5017c16848
commit
e7816d7e7f
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ namespace NzbDrone.Common
|
||||||
if (!string.IsNullOrWhiteSpace(applicationPath))
|
if (!string.IsNullOrWhiteSpace(applicationPath))
|
||||||
return applicationPath;
|
return applicationPath;
|
||||||
|
|
||||||
applicationPath = CrawlToRoot(StartUpPath);
|
applicationPath = CrawlToRoot(AppDomain.CurrentDomain.BaseDirectory);
|
||||||
if (!string.IsNullOrWhiteSpace(applicationPath))
|
if (!string.IsNullOrWhiteSpace(applicationPath))
|
||||||
return applicationPath;
|
return applicationPath;
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ namespace NzbDrone.Common
|
||||||
if (!string.IsNullOrWhiteSpace(applicationPath))
|
if (!string.IsNullOrWhiteSpace(applicationPath))
|
||||||
return applicationPath;
|
return applicationPath;
|
||||||
|
|
||||||
throw new ApplicationException("Can't fine IISExpress folder.");
|
throw new ApplicationException("Can't finds IISExpress folder.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue