diff --git a/ZenlessTools/Depend/CreateShortcut.cs b/ZenlessTools/Depend/CreateShortcut.cs index 976d2fd..38482e7 100644 --- a/ZenlessTools/Depend/CreateShortcut.cs +++ b/ZenlessTools/Depend/CreateShortcut.cs @@ -20,6 +20,7 @@ using System; using System.IO; +using static ZenlessTools.App; namespace ZenlessTools.Depend { @@ -27,12 +28,13 @@ public class CreateShortcut { public static async void CreateDesktopShortcut() { - string shortcutPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "ZenlessTools(绝区零工具箱).url"); + string shortcutPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "绝区零工具箱.url"); using (StreamWriter writer = new StreamWriter(shortcutPath)) { writer.WriteLine("[InternetShortcut]"); writer.WriteLine("URL=ZenlessTools:///"); } + NotificationManager.RaiseNotification("创建桌面快捷方式", "绝区零工具箱桌面快捷方式已创建。", Microsoft.UI.Xaml.Controls.InfoBarSeverity.Success, true, 2); } } } diff --git a/ZenlessTools/Package.appxmanifest b/ZenlessTools/Package.appxmanifest index c347c40..34fdf6d 100644 --- a/ZenlessTools/Package.appxmanifest +++ b/ZenlessTools/Package.appxmanifest @@ -9,7 +9,7 @@ + Version="1.0.7.0" /> ZenlessTools(缁濆尯闆跺伐鍏风)