me-web? 0.15.4: a desktop with a wireless mouse is no longer taken for a laptop
Build / Desktop, server and tools (push) Successful in 1m14s
Release / Every platform, the server, the release (push) Successful in 8m38s

- On Linux, a desktop computer with a wireless mouse, keyboard, headset or game controller was described as a
  laptop, with the advice to use a small always-on computer instead, because the battery inside the mouse was
  counted. Only the computer's own battery counts now.
- The mail card now leads with what big mailboxes care about most: when your address's reverse name looks like a
  home line, or there is none, that comes first. A blocklist that names your provider's whole network is still
  shown below it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
thepraandClaude Opus 5.5 committed 2026-10-31 23:24:15 +01:00
1 parent e112c1dc1e
commit 0c722c21d4
8 files changed
+24 -13

No files matched your search

+3 -1
View File
@@ -15,6 +15,8 @@ public static class AppServices
public const string Secure = "secure";
public const string Plain = "plain";
public static string Folder { get; set; } = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MeWeb");
public static IServiceCollection AddMeWebApp(this IServiceCollection services, IPlatform platform)
{
var agent = $"me-web/{BuildInfo.Version}";
@@ -28,7 +30,7 @@ public static class AppServices
return new ServerProbe(factory.CreateClient(Secure), factory.CreateClient(Plain));
});
services.AddSingleton<KnowledgeBase>();
var folder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MeWeb");
var folder = Folder;
services.AddSingleton(new HistoryStore(folder));
services.AddSingleton(new Leftovers(folder));
services.AddSingleton(new Submissions(folder));
+2 -3
View File
@@ -11,8 +11,7 @@ public class StoredSettings
public static class AppSettings
{
static readonly string Folder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MeWeb");
static readonly string FilePath = Path.Combine(Folder, "settings.json");
static string FilePath => Path.Combine(AppServices.Folder, "settings.json");
public static StoredSettings Read()
{
@@ -32,7 +31,7 @@ public static class AppSettings
{
try
{
Directory.CreateDirectory(Folder);
Directory.CreateDirectory(AppServices.Folder);
var temporary = FilePath + ".tmp";
using (var stream = File.Create(temporary))
JsonSerializer.Serialize(stream, settings, AppJsonContext.Default.StoredSettings);
+1 -1
View File
@@ -7,7 +7,7 @@ namespace MeWeb.App.Services;
public static class ErrorLog
{
const long MaxBytes = 256 * 1024;
static readonly string FilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MeWeb", "errors.log");
static string FilePath => Path.Combine(AppServices.Folder, "errors.log");
static readonly Lock Gate = new();
public static void Watch()