From 224388da3447a3e83ac3dcc74277332525c91456 Mon Sep 17 00:00:00 2001 From: Kevin Hahn Date: Mon, 9 Dec 2024 09:51:52 +0700 Subject: [PATCH] make app name consistent --- backend/FwLite/FwLiteDesktop/App.xaml.cs | 2 +- .../FwLiteDesktop/Platforms/Windows/WindowsShortcutService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/FwLite/FwLiteDesktop/App.xaml.cs b/backend/FwLite/FwLiteDesktop/App.xaml.cs index 3fd91635f..22d0bacbb 100644 --- a/backend/FwLite/FwLiteDesktop/App.xaml.cs +++ b/backend/FwLite/FwLiteDesktop/App.xaml.cs @@ -14,7 +14,7 @@ protected override Window CreateWindow(IActivationState? activationState) { return new Window(_mainPage) { - Title = "FieldWorks lite " + AppVersion.Version + Title = "FieldWorks Lite " + AppVersion.Version }; } } diff --git a/backend/FwLite/FwLiteDesktop/Platforms/Windows/WindowsShortcutService.cs b/backend/FwLite/FwLiteDesktop/Platforms/Windows/WindowsShortcutService.cs index b2c855186..a8795986e 100644 --- a/backend/FwLite/FwLiteDesktop/Platforms/Windows/WindowsShortcutService.cs +++ b/backend/FwLite/FwLiteDesktop/Platforms/Windows/WindowsShortcutService.cs @@ -15,7 +15,7 @@ public void Initialize(IServiceProvider services) link.SetPath($@"shell:AppsFolder\{package.Id.FamilyName}!App"); link.SetIconLocation(Path.Combine(package.InstalledLocation.Path, "logo_light.ico"), 0); var file = (IPersistFile)link; - file.Save(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "Fieldworks Lite.lnk"), + file.Save(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "FieldWorks Lite.lnk"), false); }