diff --git a/Plugins/Wox.Plugin.Shell/Images/cmd.png b/Plugins/Wox.Plugin.Shell/Images/shell.png
similarity index 100%
rename from Plugins/Wox.Plugin.Shell/Images/cmd.png
rename to Plugins/Wox.Plugin.Shell/Images/shell.png
diff --git a/Plugins/Wox.Plugin.Shell/Main.cs b/Plugins/Wox.Plugin.Shell/Main.cs
index 152a5e6620..cc9336f6db 100644
--- a/Plugins/Wox.Plugin.Shell/Main.cs
+++ b/Plugins/Wox.Plugin.Shell/Main.cs
@@ -15,6 +15,7 @@ namespace Wox.Plugin.CMD
{
public class CMD : IPlugin, ISettingProvider, IPluginI18n, IContextMenu
{
+ private const string Image = "Images/shell.png";
private PluginInitContext context;
private bool WinRStroked;
private readonly KeyboardSimulator keyboardSimulator = new KeyboardSimulator(new InputSimulator());
@@ -76,7 +77,7 @@ namespace Wox.Plugin.CMD
results.AddRange(autocomplete.ConvertAll(m => new Result
{
Title = m,
- IcoPath = "Images/cmd.png",
+ IcoPath = Image,
Action = c =>
{
ExecuteCommand(m);
@@ -109,7 +110,7 @@ namespace Wox.Plugin.CMD
{
Title = m.Key,
SubTitle = string.Format(context.API.GetTranslation("wox_plugin_cmd_cmd_has_been_executed_times"), m.Value),
- IcoPath = "Images/cmd.png",
+ IcoPath = Image,
Action = c =>
{
ExecuteCommand(m.Key);
@@ -128,7 +129,7 @@ namespace Wox.Plugin.CMD
Title = cmd,
Score = 5000,
SubTitle = context.API.GetTranslation("wox_plugin_cmd_execute_through_shell"),
- IcoPath = "Images/cmd.png",
+ IcoPath = Image,
Action = c =>
{
ExecuteCommand(cmd);
@@ -146,7 +147,7 @@ namespace Wox.Plugin.CMD
{
Title = m.Key,
SubTitle = string.Format(context.API.GetTranslation("wox_plugin_cmd_cmd_has_been_executed_times"), m.Value),
- IcoPath = "Images/cmd.png",
+ IcoPath = Image,
Action = c =>
{
ExecuteCommand(m.Key);
@@ -320,7 +321,7 @@ namespace Wox.Plugin.CMD
ExecuteCommand(selectedResult.Title, true);
return true;
},
- IcoPath = "Images/cmd.png"
+ IcoPath = Image
}
};
}
diff --git a/Plugins/Wox.Plugin.Shell/Wox.Plugin.Shell.csproj b/Plugins/Wox.Plugin.Shell/Wox.Plugin.Shell.csproj
index 5215526caf..561f6d87b8 100644
--- a/Plugins/Wox.Plugin.Shell/Wox.Plugin.Shell.csproj
+++ b/Plugins/Wox.Plugin.Shell/Wox.Plugin.Shell.csproj
@@ -7,8 +7,8 @@
{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}
Library
Properties
- Wox.Plugin.CMD
- Wox.Plugin.CMD
+ Wox.Plugin.Shell
+ Wox.Plugin.Shell
v4.5.2
512
..\..\
@@ -18,7 +18,7 @@
true
full
false
- ..\..\Output\Debug\Plugins\Wox.Plugin.CMD\
+ ..\..\Output\Debug\Plugins\Wox.Plugin.Shell\
DEBUG;TRACE
prompt
4
@@ -27,7 +27,7 @@
pdbonly
true
- ..\..\Output\Release\Plugins\Wox.Plugin.CMD\
+ ..\..\Output\Release\Plugins\Wox.Plugin.Shell\
TRACE
prompt
4
@@ -64,16 +64,12 @@
-
- CMDSetting.xaml
-
+
+ ShellSetting.xaml
+
-
- MSBuild:Compile
- Designer
-
MSBuild:Compile
Designer
@@ -112,10 +108,16 @@
-
+
PreserveNewest
+
+
+ MSBuild:Compile
+ Designer
+
+