Browse Source

修复部分Bug,更新捐赠名单

蓝点lilac 4 năm trước cách đây
mục cha
commit
a251c328cd

+ 1 - 1
ContextMenuManager/ContextMenuManager.csproj

@@ -33,7 +33,7 @@
     <PlatformTarget>AnyCPU</PlatformTarget>
     <DebugSymbols>true</DebugSymbols>
     <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
+    <Optimize>true</Optimize>
     <OutputPath>bin\Debug\</OutputPath>
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <ErrorReport>prompt</ErrorReport>

+ 1 - 1
ContextMenuManager/Controls/AboutApp.cs

@@ -284,7 +284,7 @@ namespace ContextMenuManager.Controls
             cmbConfigDir.Items.AddRange(new[] { AppString.Other.AppDataDir, AppString.Other.AppDir });
             cmbEngine.Items.AddRange(new[] { "Baidu", "Bing", "Google", "DogeDoge", "Sogou", "360", AppString.Other.CustomEngine });
             btnConfigDir.MouseDown += (sender, e) => ExternalProgram.JumpExplorer(AppConfig.ConfigDir);
-            btnBackupDir.MouseDown += (sender, e) => ExternalProgram.JumpExplorer(AppConfig.ConfigDir);
+            btnBackupDir.MouseDown += (sender, e) => ExternalProgram.JumpExplorer(AppConfig.BackupDir);
             lblGithub.Click += (sender, e) => ExternalProgram.OpenUrl(GithubUrl);
             lblGitee.Click += (sender, e) => ExternalProgram.OpenUrl(GiteeUrl);
             lblUpdate.Click += (sender, e) =>

+ 1 - 1
ContextMenuManager/Controls/EnhanceMenusList.cs

@@ -14,7 +14,7 @@ namespace ContextMenuManager.Controls
         {
             try
             {
-                XmlDocument doc = AppDic.ReadXml(AppConfig.WebEnhanceMenusDic, 
+                XmlDocument doc = AppDic.ReadXml(AppConfig.WebEnhanceMenusDic,
                     AppConfig.UserEnhanceMenusDic, Properties.Resources.EnhanceMenusDic);
                 foreach(XmlNode xn in doc.DocumentElement.ChildNodes)
                 {

+ 1 - 1
ContextMenuManager/Controls/GuidBlockedItem.cs

@@ -70,7 +70,7 @@ namespace ContextMenuManager.Controls
 
             ContextMenuStrip.Items.AddRange(new ToolStripItem[] {TsiHandleGuid,
                 new ToolStripSeparator(), TsiDetails });
-            TsiDetails.DropDownItems.AddRange(new ToolStripItem[] { TsiSearch, 
+            TsiDetails.DropDownItems.AddRange(new ToolStripItem[] { TsiSearch,
                 new ToolStripSeparator(), TsiFileProperties, TsiFileLocation});
 
             MyToolTip.SetToolTip(BtnDelete, AppString.Menu.Delete);

+ 0 - 1
ContextMenuManager/Controls/ShellList.cs

@@ -5,7 +5,6 @@ using Microsoft.Win32;
 using System;
 using System.Collections.Generic;
 using System.Drawing;
-using System.IO;
 using System.Linq;
 using System.Windows.Forms;
 using System.Xml;

+ 1 - 1
ContextMenuManager/Controls/UwpModeItem.cs

@@ -121,7 +121,7 @@ namespace ContextMenuManager.Controls
             TsiDeleteMe = new DeleteMeMenuItem(this);
             TsiRegExport = new RegExportMenuItem(this);
             TsiHandleGuid = new HandleGuidMenuItem(this, false);
-            this.ContextMenuStrip.Items.AddRange(new ToolStripItem[] { TsiHandleGuid, 
+            this.ContextMenuStrip.Items.AddRange(new ToolStripItem[] { TsiHandleGuid,
                 new ToolStripSeparator(), TsiDetails, new ToolStripSeparator(), TsiDeleteMe });
             TsiDetails.DropDownItems.AddRange(new ToolStripItem[] { TsiSearch, new ToolStripSeparator(),
                 TsiFileProperties, TsiFileLocation, TsiRegLocation, TsiRegExport });

+ 15 - 6
ContextMenuManager/Properties/Resources.Designer.cs

@@ -388,13 +388,22 @@ namespace ContextMenuManager.Properties {
         }
         
         /// <summary>
-        ///   查找类似 [Microsoft.SkypeApp]
-        ///Guid=776dbc8d-7347-478c-8d71-791e12ef49d8
-        ///Scene=File
+        ///   查找类似 &lt;?xml version=&apos;1.0&apos; encoding=&apos;utf-8&apos; ?&gt;
+        ///&lt;!-- 微软在Win10右键菜单中新增的UWP模块, 非Shell、ShellEx类型,
+        ///但是可通过GUID锁定屏蔽来禁用右键菜单项目,
+        ///GUID查找位置:HKEY_CLASSES_ROOT\PackagedCom\Package\[包名]\Class\[GUID],
+        ///Scene的各子节点为菜单项目出现位置, Item必须有Guid属性,
+        ///UwpName、Text、Icon、Tip等属性可写在GuidInfosDic.ini里面,这里就可省略不写--&gt;
         ///
-        ///[Microsoft.WindowsTerminal]
-        ///Guid=9f156763-7844-4dc4-b2b1-901f640f5155
-        ///Scene=Directory|Background 的本地化字符串。
+        ///&lt;Scene&gt;
+        ///	&lt;File&gt;
+        ///		&lt;Item Guid=&apos;776dbc8d-7347-478c-8d71-791e12ef49d8&apos;/&gt;
+        ///	&lt;/File&gt;
+        ///	&lt;Directory&gt;
+        ///		&lt;Item Guid=&apos;9f156763-7844-4dc4-b2b1-901f640f5155&apos;/&gt;
+        ///	&lt;/Directory&gt;
+        ///	&lt;Background&gt;
+        ///		&lt;Item Guid=&apos;9f156763-7844-4dc4-b2b1-901f640f5155&apos;/ [字符串的其余部分被截断]&quot;; 的本地化字符串。
         /// </summary>
         internal static string UwpModeItemsDic {
             get {

+ 5 - 3
Donate.md

@@ -8,9 +8,9 @@
 
 ## 捐赠名单
 
-> 此名单不定期更新(上次更新:**2021-02-25**)
+> 此名单不定期更新(上次更新:**2021-02-26**)
 
-> 累计金额:**232.62** 元,累计人次:**48** 人次
+> 累计金额:**264.22** 元,累计人次:**50** 人次
 
 |日期|用户ID|平台|金额|备注
 |:--:|:--:|:--:|:--:|:--:
@@ -62,4 +62,6 @@
 |2020-02-12|*奕|支付宝|2.8|真不错
 |2020-02-18|**凯|支付宝|6|方便好用,支持你
 |2020-02-24|**方|支付宝|2|
-|2020-02-25|闭*g|微信|3|请大佬喝饮料🥤
+|2020-02-25|闭*g|微信|3|请大佬喝饮料🥤
+|2020-02-26|**海|支付宝|30|
+|2020-02-26|*觉|微信|1.6|