Skip to content

Commit 5a47376

Browse files
committed
添加创建桌面快捷方式功能[设置]
1 parent 74d605b commit 5a47376

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ZenlessTools/Depend/CreateShortcut.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,21 @@
2020

2121
using System;
2222
using System.IO;
23+
using static ZenlessTools.App;
2324

2425
namespace ZenlessTools.Depend
2526
{
2627
public class CreateShortcut
2728
{
2829
public static async void CreateDesktopShortcut()
2930
{
30-
string shortcutPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "ZenlessTools(¾øÇøÁ㹤¾ßÏä).url");
31+
string shortcutPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "없혐쥐묏야芎.url");
3132
using (StreamWriter writer = new StreamWriter(shortcutPath))
3233
{
3334
writer.WriteLine("[InternetShortcut]");
3435
writer.WriteLine("URL=ZenlessTools:///");
3536
}
37+
NotificationManager.RaiseNotification("눼쉔戮충우쌥렘駕", "없혐쥐묏야芎戮충우쌥렘駕綠눼쉔。", Microsoft.UI.Xaml.Controls.InfoBarSeverity.Success, true, 2);
3638
}
3739
}
3840
}

ZenlessTools/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Identity
1010
Name="JSG.ZenlessTools"
1111
Publisher="CN=JSG-Software, O=JSG-LLC, C=CN"
12-
Version="1.0.6.0" />
12+
Version="1.0.7.0" />
1313

1414
<Properties>
1515
<DisplayName>ZenlessTools(绝区零工具箱)</DisplayName>

0 commit comments

Comments
 (0)