diff --git a/projects/GKCore/GKCore/GKUtils.cs b/projects/GKCore/GKCore/GKUtils.cs index 4daa7db8e..35e787c30 100644 --- a/projects/GKCore/GKCore/GKUtils.cs +++ b/projects/GKCore/GKCore/GKUtils.cs @@ -91,7 +91,7 @@ public static void LoadExtFile(string fileName, string args = "") if (File.Exists(fileName)) { Process.Start(new ProcessStartInfo("file://" + fileName) { UseShellExecute = true, Arguments = args }); } else { - Process.Start(fileName); + Process.Start(new ProcessStartInfo(fileName) { UseShellExecute = true }); } #endif #endif diff --git a/projects/GKCore/GKCore/UpdateMan.cs b/projects/GKCore/GKCore/UpdateMan.cs index 2790589b8..85a04ac71 100644 --- a/projects/GKCore/GKCore/UpdateMan.cs +++ b/projects/GKCore/GKCore/UpdateMan.cs @@ -1,6 +1,6 @@ /* * "GEDKeeper", the personal genealogical database editor. - * Copyright (C) 2009-2023 by Sergey V. Zhdanovskih. + * Copyright (C) 2009-2024 by Sergey V. Zhdanovskih. * * This file is part of "GEDKeeper". * @@ -19,7 +19,6 @@ */ using System; -using System.Diagnostics; using System.IO; using System.Net; using System.Threading; @@ -97,7 +96,7 @@ private static async void WorkerMethod() #if !CI_MODE string question = LangMan.LS(LSID.UpdateToLatestVersion, curVersion, newVersion); if (await AppHost.StdDialogs.ShowQuestion(question)) { - Process.Start(url); + GKUtils.LoadExtFile(url); } #endif } diff --git a/projects/GKv3/GEDKeeper3.sln b/projects/GKv3/GEDKeeper3.sln index c92f38ae9..578a10158 100644 --- a/projects/GKv3/GEDKeeper3.sln +++ b/projects/GKv3/GEDKeeper3.sln @@ -17,6 +17,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "locales", "locales", "{4AF8EEE8-8592-420C-B5C5-E6DDBA389BA1}" ProjectSection(SolutionItems) = preProject + ..\..\locales\Afrikaans.lng = ..\..\locales\Afrikaans.lng ..\..\locales\Belarusian.lng = ..\..\locales\Belarusian.lng ..\..\locales\Chinese Simplified.lng = ..\..\locales\Chinese Simplified.lng ..\..\locales\czech.lng = ..\..\locales\czech.lng