mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
moved rootdir to eloquera
This commit is contained in:
parent
0155de4d92
commit
9e4bb278ef
35 changed files with 398 additions and 565 deletions
|
@ -107,7 +107,15 @@ namespace NzbDrone.Common
|
|||
{
|
||||
get
|
||||
{
|
||||
return new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName;
|
||||
var path = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName;
|
||||
|
||||
if (path.StartsWith(Environment.GetFolderPath(Environment.SpecialFolder.Windows),
|
||||
StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
path = Directory.GetCurrentDirectory();
|
||||
}
|
||||
|
||||
return path;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue