Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

Update settings schema and migrations

Marouane-elfadli27583ecf467e
diff --git a/src/Filee.Core/Settings/AppSettings.cs b/src/Filee.Core/Settings/AppSettings.cs
index 08f12f75..b173a92f 100644
--- a/src/Filee.Core/Settings/AppSettings.cs
+++ b/src/Filee.Core/Settings/AppSettings.cs
@@ -123,7 +123,7 @@ public sealed class DonutSettings
public sealed class AppSettings
{
/// <summary>Current schema version. Increase when the format changes and add a migration.</summary>
- public const int CurrentSchemaVersion = 55;
+ public const int CurrentSchemaVersion = 56;
public int SchemaVersion { get; set; } = CurrentSchemaVersion;
diff --git a/src/Filee.Core/Settings/UserDataStore.cs b/src/Filee.Core/Settings/UserDataStore.cs
index 1e16813f..319d4c71 100644
--- a/src/Filee.Core/Settings/UserDataStore.cs
+++ b/src/Filee.Core/Settings/UserDataStore.cs
@@ -934,6 +934,9 @@ internal static class SettingsMigrations
// v55: Apple Voice Memos recordings (.qta, #646) learn the audio donut; custom claims stay put.
if (from < 55)
changed |= LearnExtensions(profiles, out _, ["qta"]);
+ // v56: .lst lists (#767) learn the text donut and Bink videos (.bik, #751) the video donut; custom claims stay put.
+ if (from < 56)
+ changed |= LearnExtensions(profiles, out _, ["lst", "bik"]);
return changed;
}