Revert "rename BookTags.json to UserDefinedItems.json"
This reverts commit cd418e877d4e1fef63326b225f8b2d82b56a1381.
This commit is contained in:
parent
cd418e877d
commit
af81367b46
@ -16,7 +16,7 @@ namespace FileManager
|
||||
/// </summary>
|
||||
public static class TagsPersistence
|
||||
{
|
||||
private static string TagsFile => Path.Combine(Configuration.Instance.LibationFiles, "UserDefinedItems.json");
|
||||
private static string TagsFile => Path.Combine(Configuration.Instance.LibationFiles, "BookTags.json");
|
||||
|
||||
private static object locker { get; } = new object();
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<!-- <PublishSingleFile>true</PublishSingleFile> -->
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
|
||||
<Version>5.3.10.1</Version>
|
||||
<Version>5.3.9.6</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@ -51,7 +51,6 @@ namespace LibationLauncher
|
||||
|
||||
migrate_to_v5_0_0(config);
|
||||
migrate_to_v5_2_0__post_config(config);
|
||||
migrate_to_v5_3_10(config);
|
||||
|
||||
ensureSerilogConfig(config);
|
||||
configureLogging(config);
|
||||
@ -142,7 +141,7 @@ namespace LibationLauncher
|
||||
CancelInstallation();
|
||||
}
|
||||
|
||||
#region migrate to v5.0.0: re-register device if device info not in settings
|
||||
#region migrate_to_v5_0_0 re-register device if device info not in settings
|
||||
private static void migrate_to_v5_0_0(Configuration config)
|
||||
{
|
||||
if (!config.Exists(nameof(config.AllowLibationFixup)))
|
||||
@ -230,19 +229,6 @@ namespace LibationLauncher
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region migrate to v5.3.10: rename BookTags.json to UserDefinedItems.json
|
||||
private static void migrate_to_v5_3_10(Configuration config)
|
||||
{
|
||||
var oldPath = Path.Combine(config.LibationFiles, "BookTags.json");
|
||||
|
||||
if (File.Exists(oldPath))
|
||||
{
|
||||
var newPath = Path.Combine(config.LibationFiles, "UserDefinedItems.json");
|
||||
File.Move(oldPath, newPath);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
private static void ensureSerilogConfig(Configuration config)
|
||||
{
|
||||
if (config.GetObject("Serilog") != null)
|
||||
|
||||
@ -66,7 +66,7 @@ alternate book id (eg BK_RAND_006061) is called 'sku' , 'sku_lite' , 'prod_id' ,
|
||||
do NOT combine jsons for
|
||||
- audible-scraped persistence: library, book details
|
||||
- libation-generated persistence: FilePaths.json
|
||||
- user-defined persistence: UserDefinedItems.json
|
||||
- user-defined persistence: BookTags.json
|
||||
-- end SOLUTION LAYOUT ---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
-- begin EF CORE ---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user