From 8e4ad331f11e864be9e7255abb106db2862d3d3e Mon Sep 17 00:00:00 2001 From: hariel1985 Date: Mon, 6 Apr 2026 17:04:11 +0200 Subject: [PATCH] =?UTF-8?q?v1.19=20=E2=80=94=20Bug=20fixes,=20Hungarian=20?= =?UTF-8?q?accents,=20better=20error=20handling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix: Back button was always visible (ternary always returned Visible) - Fix: Missing Hungarian accents on EditionPage ("Válasszon kiadást") - Fix: Better ODT download error messages (network/timeout distinguished) - Signed with Azure Trusted Signing (Microsoft root CA, instant SmartScreen trust) Co-Authored-By: Claude Opus 4.6 (1M context) --- InstaSoftOfficeTool.csproj | 6 +++--- MainWindow.xaml | 2 +- MainWindow.xaml.cs | 2 +- Pages/EditionPage.xaml | 2 +- Pages/EditionPage.xaml.cs | 2 +- Services/OdtDownloader.cs | 11 +++++++++++ 6 files changed, 18 insertions(+), 7 deletions(-) diff --git a/InstaSoftOfficeTool.csproj b/InstaSoftOfficeTool.csproj index 91f4f53..e35976b 100644 --- a/InstaSoftOfficeTool.csproj +++ b/InstaSoftOfficeTool.csproj @@ -9,9 +9,9 @@ InstaSoft Zrt. InstaSoft Office Tool Copyright (c) InstaSoft Zrt. 2026 - 1.1.7 - 1.1.7.0 - 1.1.7.0 + 1.1.9 + 1.1.9.0 + 1.1.9.0 app.manifest latest diff --git a/MainWindow.xaml b/MainWindow.xaml index 357258c..d1c967e 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -45,7 +45,7 @@ Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/> - diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index d8d8da2..ff85130 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -121,7 +121,7 @@ namespace InstaSoftOfficeTool private void UpdateButtons() { - BtnBack.Visibility = _currentPageIndex > 0 ? Visibility.Visible : Visibility.Visible; + BtnBack.Visibility = _currentPageIndex > 0 ? Visibility.Visible : Visibility.Collapsed; BtnNext.Visibility = Visibility.Visible; // On SummaryPage = "Tov\u00e1bb" diff --git a/Pages/EditionPage.xaml b/Pages/EditionPage.xaml index 092d396..9af69bb 100644 --- a/Pages/EditionPage.xaml +++ b/Pages/EditionPage.xaml @@ -10,7 +10,7 @@ - + diff --git a/Pages/EditionPage.xaml.cs b/Pages/EditionPage.xaml.cs index 2d26fac..82ffbdf 100644 --- a/Pages/EditionPage.xaml.cs +++ b/Pages/EditionPage.xaml.cs @@ -17,7 +17,7 @@ namespace InstaSoftOfficeTool.Pages _config = config; _editions = OfficeEdition.GetEditions(_config.Version); - SubtitleText.Text = _config.GetVersionDisplayName() + " — melyik kiadast szeretne?"; + SubtitleText.Text = _config.GetVersionDisplayName() + " \u2014 melyik kiad\u00e1st szeretn\u00e9?"; BuildEditionCards(); } diff --git a/Services/OdtDownloader.cs b/Services/OdtDownloader.cs index 9ce78d7..195a3da 100644 --- a/Services/OdtDownloader.cs +++ b/Services/OdtDownloader.cs @@ -85,6 +85,17 @@ namespace InstaSoftOfficeTool.Services StatusChanged?.Invoke("ODT setup.exe k\u00e9sz."); return true; } + catch (System.Net.Http.HttpRequestException ex) + { + StatusChanged?.Invoke("H\u00e1l\u00f3zati hiba: Nincs internetkapcsolat vagy a szerver nem el\u00e9rhet\u0151."); + StatusChanged?.Invoke("R\u00e9szletek: " + ex.Message); + return false; + } + catch (TaskCanceledException) + { + StatusChanged?.Invoke("Id\u0151t\u00fall\u00e9p\u00e9s: A let\u00f6lt\u00e9s t\u00fal sok\u00e1ig tartott. Ellen\u0151rizze az internetkapcsolatot."); + return false; + } catch (Exception ex) { StatusChanged?.Invoke("Hiba: " + ex.GetType().Name + ": " + ex.Message);