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.

Merge remote-tracking branch 'origin/main' into sync-437

KnifeLemon30d46dac06a6
diff --cc src/Filee.Core/Settings/UserDataStore.cs
index 96b9eebe,19a310b4..429f4327
--- a/src/Filee.Core/Settings/UserDataStore.cs
+++ b/src/Filee.Core/Settings/UserDataStore.cs
@@@ -804,24 -804,9 +804,27 @@@ internal static class SettingsMigration
presets.Insert(at < 0 ? presets.Count : at + 1, BuiltInData.OcrPresets().Single());
changed = true;
}
+ // v41: PNG/JPEG download aliases learn the images donut; custom claims stay put.
+ if (from < 41)
+ changed |= LearnExtensions(profiles, out _, ["png_large", "jpg_large"]);
+ // v42: the print studio for XLSX → PDF (a tool), after "Crop" as in a new library, and first on the back of the
+ // spreadsheets donut when it has room and the user hasn't put it on either face.
+ if (from < 42)
+ {
+ const string id = "tool-sheet-studio";
+ if (presets.All(p => p.Id != id))
+ {
+ var at = presets.FindIndex(p => p.Id == "tool-crop");
+ presets.Insert(at < 0 ? presets.Count : at + 1, BuiltInData.CreatePresets().Single(p => p.Id == id));
+ changed = true;
+ }
+ if (profiles.FirstOrDefault(p => p.Id == "spreadsheets") is { BackPresetIds: { } back } spreadsheets
+ && !back.Contains(id) && !spreadsheets.PresetIds.Contains(id) && back.Count < ToolbarProfile.MaxSlices)
+ {
+ back.Insert(0, id);
+ changed = true;
+ }
+ }
return changed;
}