mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 12:33:00 +02:00
First steps for SQLite
This commit is contained in:
@@ -15,6 +15,7 @@ namespace NzbDrone.Common
|
||||
public const string NZBDRONE_EXE = "NzbDrone.exe";
|
||||
|
||||
public const string OBJ_DB_FOLDER = "objDb";
|
||||
public const string NZBDRONE_DB = "nzbdrone.db";
|
||||
|
||||
private const string BACKUP_ZIP_FILE = "NzbDrone_Backup.zip";
|
||||
|
||||
@@ -40,10 +41,6 @@ namespace NzbDrone.Common
|
||||
return info.FullName.Trim('/', '\\', ' ');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static string GetWebRoot(this EnvironmentProvider environmentProvider)
|
||||
{
|
||||
return Path.Combine(environmentProvider.ApplicationPath, WEB_FOLDER);
|
||||
@@ -74,7 +71,6 @@ namespace NzbDrone.Common
|
||||
return Path.Combine(environmentProvider.GetAppDataPath(), OBJ_DB_FOLDER);
|
||||
}
|
||||
|
||||
|
||||
public static string GetMediaCoverPath(this EnvironmentProvider environmentProvider)
|
||||
{
|
||||
return Path.Combine(environmentProvider.GetWebRoot(), "MediaCover");
|
||||
|
Reference in New Issue
Block a user