mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
AppPath tweak
This commit is contained in:
@@ -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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user