diff --git a/src/Core/Storage/AppConfig.cs b/src/Core/Storage/AppConfig.cs index 1c10025..aaddc0f 100644 --- a/src/Core/Storage/AppConfig.cs +++ b/src/Core/Storage/AppConfig.cs @@ -9,8 +9,8 @@ namespace PalladiumWallet.Core.Storage; /// public sealed class AppConfig { - /// Codice lingua UI ("it", "en"). - public string Language { get; set; } = "it"; + /// Codice lingua UI. + public string Language { get; set; } = "en"; /// Unità di visualizzazione degli importi (vedi ). public string Unit { get; set; } = "PLM"; diff --git a/src/Core/Storage/AppPaths.cs b/src/Core/Storage/AppPaths.cs index 1087f78..39f7d93 100644 --- a/src/Core/Storage/AppPaths.cs +++ b/src/Core/Storage/AppPaths.cs @@ -18,9 +18,12 @@ public static class AppPaths if (Directory.Exists(portable)) return portable; - return OperatingSystem.IsWindows() - ? Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "PalladiumWallet") - : Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".palladium-wallet"); + // Windows → %APPDATA%\PalladiumWallet + // Linux → $XDG_CONFIG_HOME/PalladiumWallet (default ~/.config/PalladiumWallet) + // macOS → ~/Library/Application Support/PalladiumWallet + return Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), + "PalladiumWallet"); } /// Cartella dati della rete (config, wallet, header, certificati).