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 feature/zip-gesture-and-fixes

KnifeLemond0271b55d548
diff --cc src/Filee.App/ViewModels/Pages/GeneralPageViewModel.cs
index 9c35aa36,864b8ccc..4bb41122
--- a/src/Filee.App/ViewModels/Pages/GeneralPageViewModel.cs
+++ b/src/Filee.App/ViewModels/Pages/GeneralPageViewModel.cs
@@@ -31,9 -35,10 +35,11 @@@ public sealed partial class GeneralPage
];
_language = Languages.FirstOrDefault(l => l.Value == store.Settings.Language) ?? Languages[0];
_startWithSystem = store.Settings.StartWithSystem;
+ _showInDock = store.Settings.ShowInDock;
+ _showMenuBarIcon = store.Settings.ShowMenuBarIcon;
_contextMenu = store.Settings.ContextMenuEnabled;
_noHistory = !store.Settings.KeepHistory;
+ _maxHistoryCount = Math.Clamp(store.Settings.MaxHistory, 50, 2000);
OutputLocations = new[] { OutputLocation.SameFolder, OutputLocation.Subfolder, OutputLocation.CustomFolder }
.Select(v => new Choice<OutputLocation>(v, loc[$"presets.location.{v}"])).ToList();
var output = store.Settings.DefaultOutput;
diff --cc src/Filee.Core/Settings/AppSettings.cs
index c88c2eab,79863577..21feb953
--- a/src/Filee.Core/Settings/AppSettings.cs
+++ b/src/Filee.Core/Settings/AppSettings.cs
@@@ -85,9 -86,14 +86,17 @@@ public sealed class AppSetting
/// <summary>Record finished conversions in the history (home page). Off: nothing new is recorded.</summary>
public bool KeepHistory { get; set; } = true;
+ /// <summary>Maximum number of finished conversions kept on the Home page (50–2000). Default 200.</summary>
+ public int MaxHistory { get; set; } = 200;
+
+ /// <summary>Whether the macOS Dock shows Filee.</summary>
+ [JsonConverter(typeof(IconPreferenceJsonConverter))]
+ public bool ShowInDock { get; set; } = true;
+
+ /// <summary>Whether the macOS menu bar shows Filee's status icon.</summary>
+ [JsonConverter(typeof(IconPreferenceJsonConverter))]
+ public bool ShowMenuBarIcon { get; set; } = true;
+
/// <summary>Newest version the user was already told about, so the update notice shows once per release.</summary>
public string? NotifiedUpdateVersion { get; set; }