diff --git a/Plugins/Wox.Plugin.CMD/Wox.Plugin.CMD.csproj b/Plugins/Wox.Plugin.CMD/Wox.Plugin.CMD.csproj
index 1d6384003e..2471444bd4 100644
--- a/Plugins/Wox.Plugin.CMD/Wox.Plugin.CMD.csproj
+++ b/Plugins/Wox.Plugin.CMD/Wox.Plugin.CMD.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.CMD
Wox.Plugin.CMD
- v3.5
+ v4.5.2
512
..\..\
@@ -35,7 +35,7 @@
- ..\..\packages\Newtonsoft.Json.7.0.1\lib\net35\Newtonsoft.Json.dll
+ ..\..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
True
@@ -43,6 +43,7 @@
+
diff --git a/Plugins/Wox.Plugin.CMD/packages.config b/Plugins/Wox.Plugin.CMD/packages.config
index 838721e886..0b696a5146 100644
--- a/Plugins/Wox.Plugin.CMD/packages.config
+++ b/Plugins/Wox.Plugin.CMD/packages.config
@@ -1,5 +1,5 @@
-
-
+
+
\ No newline at end of file
diff --git a/Plugins/Wox.Plugin.Caculator/Wox.Plugin.Caculator.csproj b/Plugins/Wox.Plugin.Caculator/Wox.Plugin.Caculator.csproj
index 9d4306d601..e80e10107d 100644
--- a/Plugins/Wox.Plugin.Caculator/Wox.Plugin.Caculator.csproj
+++ b/Plugins/Wox.Plugin.Caculator/Wox.Plugin.Caculator.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.Caculator
Wox.Plugin.Caculator
- v3.5
+ v4.5.2
512
..\..\
@@ -39,8 +39,8 @@
- False
..\..\packages\YAMP.1.4.0\lib\net35\YAMP.dll
+ True
diff --git a/Plugins/Wox.Plugin.Caculator/packages.config b/Plugins/Wox.Plugin.Caculator/packages.config
index 4e151aa36f..ef1566573c 100644
--- a/Plugins/Wox.Plugin.Caculator/packages.config
+++ b/Plugins/Wox.Plugin.Caculator/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/Plugins/Wox.Plugin.Color/Wox.Plugin.Color.csproj b/Plugins/Wox.Plugin.Color/Wox.Plugin.Color.csproj
index b100f3c606..b2f9af335b 100644
--- a/Plugins/Wox.Plugin.Color/Wox.Plugin.Color.csproj
+++ b/Plugins/Wox.Plugin.Color/Wox.Plugin.Color.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.Color
Wox.Plugin.Color
- v3.5
+ v4.5.2
512
diff --git a/Plugins/Wox.Plugin.ControlPanel/Wox.Plugin.ControlPanel.csproj b/Plugins/Wox.Plugin.ControlPanel/Wox.Plugin.ControlPanel.csproj
index 011dbe4fbd..de5b9a90a2 100644
--- a/Plugins/Wox.Plugin.ControlPanel/Wox.Plugin.ControlPanel.csproj
+++ b/Plugins/Wox.Plugin.ControlPanel/Wox.Plugin.ControlPanel.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.ControlPanel
Wox.Plugin.ControlPanel
- v3.5
+ v4.5.2
512
diff --git a/Plugins/Wox.Plugin.Everything/ContextMenuStorage.cs b/Plugins/Wox.Plugin.Everything/ContextMenuStorage.cs
index bbb0d33753..1971cf95ae 100644
--- a/Plugins/Wox.Plugin.Everything/ContextMenuStorage.cs
+++ b/Plugins/Wox.Plugin.Everything/ContextMenuStorage.cs
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.IO;
using System.Reflection;
-using Newtonsoft.Json;
+using JsonProperty = Newtonsoft.Json.JsonPropertyAttribute;
using Wox.Infrastructure.Storage;
namespace Wox.Plugin.Everything
diff --git a/Plugins/Wox.Plugin.Everything/Wox.Plugin.Everything.csproj b/Plugins/Wox.Plugin.Everything/Wox.Plugin.Everything.csproj
index 8a76c3216f..66ca99783e 100644
--- a/Plugins/Wox.Plugin.Everything/Wox.Plugin.Everything.csproj
+++ b/Plugins/Wox.Plugin.Everything/Wox.Plugin.Everything.csproj
@@ -1,5 +1,5 @@
-
+
Debug
@@ -9,9 +9,10 @@
Properties
Wox.Plugin.Everything
Wox.Plugin.Everything
- v3.5
+ v4.5.2
512
..\Wox\
+
true
@@ -22,6 +23,7 @@
prompt
4
AnyCPU
+ false
pdbonly
@@ -30,13 +32,14 @@
TRACE
prompt
4
+ false
- ..\..\packages\Newtonsoft.Json.7.0.1\lib\net35\Newtonsoft.Json.dll
+ ..\..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
True
diff --git a/Plugins/Wox.Plugin.Everything/packages.config b/Plugins/Wox.Plugin.Everything/packages.config
index 9b49c9e22b..64b5d8efe5 100644
--- a/Plugins/Wox.Plugin.Everything/packages.config
+++ b/Plugins/Wox.Plugin.Everything/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/Plugins/Wox.Plugin.Folder/Wox.Plugin.Folder.csproj b/Plugins/Wox.Plugin.Folder/Wox.Plugin.Folder.csproj
index 78e2830a26..8f4daf0796 100644
--- a/Plugins/Wox.Plugin.Folder/Wox.Plugin.Folder.csproj
+++ b/Plugins/Wox.Plugin.Folder/Wox.Plugin.Folder.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.Folder
Wox.Plugin.Folder
- v3.5
+ v4.5.2
512
..\..\
@@ -35,7 +35,7 @@
- ..\..\packages\Newtonsoft.Json.7.0.1\lib\net35\Newtonsoft.Json.dll
+ ..\..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
True
@@ -43,6 +43,7 @@
+
diff --git a/Plugins/Wox.Plugin.Folder/packages.config b/Plugins/Wox.Plugin.Folder/packages.config
index 9b49c9e22b..64b5d8efe5 100644
--- a/Plugins/Wox.Plugin.Folder/packages.config
+++ b/Plugins/Wox.Plugin.Folder/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/Plugins/Wox.Plugin.PluginIndicator/Wox.Plugin.PluginIndicator.csproj b/Plugins/Wox.Plugin.PluginIndicator/Wox.Plugin.PluginIndicator.csproj
index 9c359acab6..d68a2a81cd 100644
--- a/Plugins/Wox.Plugin.PluginIndicator/Wox.Plugin.PluginIndicator.csproj
+++ b/Plugins/Wox.Plugin.PluginIndicator/Wox.Plugin.PluginIndicator.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.PluginIndicator
Wox.Plugin.PluginIndicator
- v3.5
+ v4.5.2
512
diff --git a/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj b/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj
index 3870480f36..8ee89613dd 100644
--- a/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj
+++ b/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.PluginManagement
Wox.Plugin.PluginManagement
- v3.5
+ v4.5.2
512
..\..\
@@ -35,7 +35,7 @@
- ..\..\packages\Newtonsoft.Json.7.0.1\lib\net35\Newtonsoft.Json.dll
+ ..\..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
True
diff --git a/Plugins/Wox.Plugin.PluginManagement/packages.config b/Plugins/Wox.Plugin.PluginManagement/packages.config
index 9b49c9e22b..64b5d8efe5 100644
--- a/Plugins/Wox.Plugin.PluginManagement/packages.config
+++ b/Plugins/Wox.Plugin.PluginManagement/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/Plugins/Wox.Plugin.Program/Programs.cs b/Plugins/Wox.Plugin.Program/Programs.cs
index 90604cf702..3dd2a3fdbd 100644
--- a/Plugins/Wox.Plugin.Program/Programs.cs
+++ b/Plugins/Wox.Plugin.Program/Programs.cs
@@ -29,9 +29,9 @@ namespace Wox.Plugin.Program
{
var fuzzyMather = FuzzyMatcher.Create(query.Search);
- var results = programs.Where(o => MatchProgram(o, fuzzyMather)).
+ var results = programs.Where(p => MatchProgram(p, fuzzyMather)).
Select(ScoreFilter).
- OrderByDescending(o => o.Score)
+ OrderByDescending(p => p.Score)
.Select(c => new Result()
{
Title = c.Title,
@@ -53,8 +53,7 @@ namespace Wox.Plugin.Program
{
var scores = new List { program.Title, program.PinyinTitle, program.AbbrTitle, program.ExecuteName };
program.Score = scores.Select(s => matcher.Evaluate(s ?? string.Empty).Score).Max();
- if (program.Score > 0) return true;
- else return false;
+ return program.Score > 0;
}
public void Init(PluginInitContext context)
diff --git a/Plugins/Wox.Plugin.Program/Wox.Plugin.Program.csproj b/Plugins/Wox.Plugin.Program/Wox.Plugin.Program.csproj
index 5eac4a7511..4ec3ee3002 100644
--- a/Plugins/Wox.Plugin.Program/Wox.Plugin.Program.csproj
+++ b/Plugins/Wox.Plugin.Program/Wox.Plugin.Program.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.Program
Wox.Plugin.Program
- v3.5
+ v4.5.2
512
..\..\
@@ -34,8 +34,9 @@
false
+
- ..\..\packages\Newtonsoft.Json.7.0.1\lib\net35\Newtonsoft.Json.dll
+ ..\..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
True
@@ -43,6 +44,7 @@
+
diff --git a/Plugins/Wox.Plugin.Program/packages.config b/Plugins/Wox.Plugin.Program/packages.config
index 9b49c9e22b..64b5d8efe5 100644
--- a/Plugins/Wox.Plugin.Program/packages.config
+++ b/Plugins/Wox.Plugin.Program/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/Plugins/Wox.Plugin.Sys/Wox.Plugin.Sys.csproj b/Plugins/Wox.Plugin.Sys/Wox.Plugin.Sys.csproj
index 34e5e20650..3be9f8c30f 100644
--- a/Plugins/Wox.Plugin.Sys/Wox.Plugin.Sys.csproj
+++ b/Plugins/Wox.Plugin.Sys/Wox.Plugin.Sys.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.Sys
Wox.Plugin.Sys
- v3.5
+ v4.5.2
512
..\..\
@@ -39,6 +39,7 @@
+
diff --git a/Plugins/Wox.Plugin.Url/Wox.Plugin.Url.csproj b/Plugins/Wox.Plugin.Url/Wox.Plugin.Url.csproj
index cfc35a6cb5..676bf001b5 100644
--- a/Plugins/Wox.Plugin.Url/Wox.Plugin.Url.csproj
+++ b/Plugins/Wox.Plugin.Url/Wox.Plugin.Url.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.Url
Wox.Plugin.Url
- v3.5
+ v4.5.2
512
diff --git a/Plugins/Wox.Plugin.WebSearch/Wox.Plugin.WebSearch.csproj b/Plugins/Wox.Plugin.WebSearch/Wox.Plugin.WebSearch.csproj
index fec98b0da8..667253e6af 100644
--- a/Plugins/Wox.Plugin.WebSearch/Wox.Plugin.WebSearch.csproj
+++ b/Plugins/Wox.Plugin.WebSearch/Wox.Plugin.WebSearch.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Plugin.WebSearch
Wox.Plugin.WebSearch
- v3.5
+ v4.5.2
512
..\..\
@@ -35,13 +35,14 @@
- ..\..\packages\Newtonsoft.Json.7.0.1\lib\net35\Newtonsoft.Json.dll
+ ..\..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
True
+
diff --git a/Plugins/Wox.Plugin.WebSearch/packages.config b/Plugins/Wox.Plugin.WebSearch/packages.config
index 9b49c9e22b..64b5d8efe5 100644
--- a/Plugins/Wox.Plugin.WebSearch/packages.config
+++ b/Plugins/Wox.Plugin.WebSearch/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/Wox.Core/Wox.Core.csproj b/Wox.Core/Wox.Core.csproj
index 877abfa32e..6856a93632 100644
--- a/Wox.Core/Wox.Core.csproj
+++ b/Wox.Core/Wox.Core.csproj
@@ -9,7 +9,7 @@
Properties
Wox.Core
Wox.Core
- v3.5
+ v4.5.2
512
..\
@@ -43,7 +43,7 @@
True
- ..\packages\Newtonsoft.Json.7.0.1\lib\net35\Newtonsoft.Json.dll
+ ..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
True
@@ -52,6 +52,7 @@
+
diff --git a/Wox.Core/packages.config b/Wox.Core/packages.config
index 1bef75167a..0a18f6284d 100644
--- a/Wox.Core/packages.config
+++ b/Wox.Core/packages.config
@@ -1,6 +1,6 @@
-
-
-
+
+
+
\ No newline at end of file
diff --git a/Wox.CrashReporter/Wox.CrashReporter.csproj b/Wox.CrashReporter/Wox.CrashReporter.csproj
index b64a35ef9a..9bb3e653d6 100644
--- a/Wox.CrashReporter/Wox.CrashReporter.csproj
+++ b/Wox.CrashReporter/Wox.CrashReporter.csproj
@@ -9,7 +9,7 @@
Properties
Wox.CrashReporter
Wox.CrashReporter
- v3.5
+ v4.5.2
512
..\
@@ -34,13 +34,19 @@
false
-
- ..\packages\Exceptionless.1.5.2121\lib\net35\Exceptionless.dll
+
+ ..\packages\Exceptionless.1.5.2121\lib\net45\Exceptionless.dll
+ True
+
+
+ ..\packages\Exceptionless.1.5.2121\lib\net45\Exceptionless.Models.dll
+ True
+
diff --git a/Wox.CrashReporter/packages.config b/Wox.CrashReporter/packages.config
index aaa9e6ed9c..a8a044e437 100644
--- a/Wox.CrashReporter/packages.config
+++ b/Wox.CrashReporter/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/Wox.Infrastructure/Wox.Infrastructure.csproj b/Wox.Infrastructure/Wox.Infrastructure.csproj
index 0c75c74567..070d2992b3 100644
--- a/Wox.Infrastructure/Wox.Infrastructure.csproj
+++ b/Wox.Infrastructure/Wox.Infrastructure.csproj
@@ -1,5 +1,5 @@
-
+
Debug
@@ -9,7 +9,7 @@
Properties
Wox.Infrastructure
Wox.Infrastructure
- v3.5
+ v4.5.2
512
..\
@@ -37,11 +37,11 @@
- ..\packages\Newtonsoft.Json.7.0.1\lib\net35\Newtonsoft.Json.dll
+ ..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
True
- ..\packages\NLog.4.2.0\lib\net35\NLog.dll
+ ..\packages\NLog.4.2.0\lib\net45\NLog.dll
True
diff --git a/Wox.Infrastructure/packages.config b/Wox.Infrastructure/packages.config
index ff40a49bae..1a48622862 100644
--- a/Wox.Infrastructure/packages.config
+++ b/Wox.Infrastructure/packages.config
@@ -1,6 +1,6 @@
-
-
-
+
+
+
\ No newline at end of file
diff --git a/Wox.Plugin/Result.cs b/Wox.Plugin/Result.cs
index 992c50a5d1..ced01e38b3 100644
--- a/Wox.Plugin/Result.cs
+++ b/Wox.Plugin/Result.cs
@@ -48,8 +48,7 @@ namespace Wox.Plugin
if (r != null)
{
var equality = string.Equals(r.Title, Title) &&
- string.Equals(r.SubTitle, SubTitle) &&
- r.Score == Score;
+ string.Equals(r.SubTitle, SubTitle);
return equality;
}
else
@@ -61,8 +60,7 @@ namespace Wox.Plugin
public override int GetHashCode()
{
var hashcode = (Title?.GetHashCode() ?? 0) ^
- (SubTitle?.GetHashCode() ?? 0) ^
- (Score.GetHashCode());
+ (SubTitle?.GetHashCode() ?? 0) ;
return hashcode;
}
diff --git a/Wox.Plugin/Wox.Plugin.csproj b/Wox.Plugin/Wox.Plugin.csproj
index aa89d8ab18..559f6cf463 100644
--- a/Wox.Plugin/Wox.Plugin.csproj
+++ b/Wox.Plugin/Wox.Plugin.csproj
@@ -1,5 +1,5 @@
-
+
Debug
@@ -9,8 +9,9 @@
Properties
Wox.Plugin
Wox.Plugin
- v3.5
+ v4.5.2
512
+
true
@@ -21,6 +22,7 @@
prompt
4
AnyCPU
+ false
pdbonly
@@ -29,12 +31,14 @@
TRACE
prompt
4
+ false
+
diff --git a/Wox.Test/Wox.Test.csproj b/Wox.Test/Wox.Test.csproj
index 2cc0b78146..e1b65e45b5 100644
--- a/Wox.Test/Wox.Test.csproj
+++ b/Wox.Test/Wox.Test.csproj
@@ -1,5 +1,5 @@
-
+
Debug
@@ -9,7 +9,7 @@
Properties
Wox.Test
Wox.Test
- v3.5
+ v4.5.2
512
..\
@@ -34,9 +34,13 @@
false
+
+ ..\packages\Moq.4.2.1409.1722\lib\net40\Moq.dll
+ True
+
- False
..\packages\NUnit.2.6.4\lib\nunit.framework.dll
+ True
diff --git a/Wox.Test/packages.config b/Wox.Test/packages.config
index 565203e846..8bd8a9d0e8 100644
--- a/Wox.Test/packages.config
+++ b/Wox.Test/packages.config
@@ -1,5 +1,5 @@
-
-
+
+
\ No newline at end of file
diff --git a/Wox.UpdateFeedGenerator/Wox.UpdateFeedGenerator.csproj b/Wox.UpdateFeedGenerator/Wox.UpdateFeedGenerator.csproj
index cc61dc165d..b4f7c27f2d 100644
--- a/Wox.UpdateFeedGenerator/Wox.UpdateFeedGenerator.csproj
+++ b/Wox.UpdateFeedGenerator/Wox.UpdateFeedGenerator.csproj
@@ -9,9 +9,10 @@
Properties
Wox.UpdateFeedGenerator
Wox.UpdateFeedGenerator
- v3.5
+ v4.5.2
512
..\
+
AnyCPU
@@ -22,6 +23,7 @@
DEBUG;TRACE
prompt
4
+ false
AnyCPU
@@ -31,6 +33,7 @@
TRACE
prompt
4
+ false
@@ -38,7 +41,7 @@
True
- ..\packages\Newtonsoft.Json.7.0.1\lib\net35\Newtonsoft.Json.dll
+ ..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
True
@@ -60,7 +63,10 @@
-
+
+
+ Designer
+
diff --git a/Wox.UpdateFeedGenerator/app.config b/Wox.UpdateFeedGenerator/app.config
new file mode 100644
index 0000000000..ff99501038
--- /dev/null
+++ b/Wox.UpdateFeedGenerator/app.config
@@ -0,0 +1,3 @@
+
+
+
diff --git a/Wox.UpdateFeedGenerator/packages.config b/Wox.UpdateFeedGenerator/packages.config
index 988cd2fc4a..aba1c6d1b0 100644
--- a/Wox.UpdateFeedGenerator/packages.config
+++ b/Wox.UpdateFeedGenerator/packages.config
@@ -1,5 +1,5 @@
-
-
+
+
\ No newline at end of file
diff --git a/Wox/ResultPanel.xaml b/Wox/ResultPanel.xaml
index 83e3f4b0e3..6abd51faec 100644
--- a/Wox/ResultPanel.xaml
+++ b/Wox/ResultPanel.xaml
@@ -7,44 +7,82 @@
xmlns:converters="clr-namespace:Wox.Converters"
mc:Ignorable="d" d:DesignWidth="100" d:DesignHeight="100">
-
-
-
-
-
-
-
+
-
+
-
-
+
+
-
-
+
-
-
+
+
-
-
+
+
-
+
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Wox/ResultPanel.xaml.cs b/Wox/ResultPanel.xaml.cs
index 121ee9b852..534a561c97 100644
--- a/Wox/ResultPanel.xaml.cs
+++ b/Wox/ResultPanel.xaml.cs
@@ -60,14 +60,15 @@ namespace Wox
{
lock (_resultsUpdateLock)
{
- var resultCopy = _results.ToList();
- var oldResults = resultCopy.Where(r => r.PluginID == resultId).ToList();
+ // todo use async to do new result calculation
+ var resultsCopy = _results.ToList();
+ var oldResults = resultsCopy.Where(r => r.PluginID == resultId).ToList();
// intersection of A (old results) and B (new newResults)
var intersection = oldResults.Intersect(newResults).ToList();
// remove result of relative complement of B in A
foreach (var result in oldResults.Except(intersection))
{
- resultCopy.Remove(result);
+ resultsCopy.Remove(result);
}
// update scores
@@ -80,31 +81,31 @@ namespace Wox
}
// update index for result in intersection of A and B
- foreach (var result in intersection)
+ foreach (var commonResult in intersection)
{
- int oldIndex = resultCopy.IndexOf(result);
- int oldScore = resultCopy[oldIndex].Score;
- if (result.Score != oldScore)
+ int oldIndex = resultsCopy.IndexOf(commonResult);
+ int oldScore = resultsCopy[oldIndex].Score;
+ int newScore = newResults[newResults.IndexOf(commonResult)].Score;
+ if (newScore != oldScore)
{
- int newIndex = InsertIndexOf(result.Score, resultCopy);
- if (newIndex != oldIndex)
- {
- var item = resultCopy[oldIndex];
- resultCopy.RemoveAt(oldIndex);
- resultCopy.Insert(newIndex, item);
- }
+ var oldResult = resultsCopy[oldIndex];
+ oldResult.Score = newScore;
+ resultsCopy.RemoveAt(oldIndex);
+ int newIndex = InsertIndexOf(newScore, resultsCopy);
+ resultsCopy.Insert(newIndex, oldResult);
+
}
}
// insert result in relative complement of A in B
foreach (var result in newResults.Except(intersection))
{
- int newIndex = InsertIndexOf(result.Score, resultCopy);
- resultCopy.Insert(newIndex, result);
+ int newIndex = InsertIndexOf(result.Score, resultsCopy);
+ resultsCopy.Insert(newIndex, result);
}
// update UI in one run, so it can avoid UI flickering
- _results.Update(resultCopy);
+ _results.Update(resultsCopy);
lbResults.Margin = lbResults.Items.Count > 0 ? new Thickness { Top = 8 } : new Thickness { Top = 0 };
SelectFirst();
diff --git a/Wox/Themes/BlurBlack.xaml b/Wox/Themes/BlurBlack.xaml
index dc1c5ec540..ebd1ef0df7 100644
--- a/Wox/Themes/BlurBlack.xaml
+++ b/Wox/Themes/BlurBlack.xaml
@@ -46,7 +46,7 @@
- #356ef3
+ #356ef3
- #356ef3
+ #356ef3
- #4F6180
+ #4F6180
- #00AAF6
+ #00AAF6
- #3875D7
+ #3875D7
- #006ac1
+ #006ac1
- #cc1081
+ #cc1081
\ No newline at end of file
diff --git a/Wox/Wox.csproj b/Wox/Wox.csproj
index 998a8f21a4..52f54db55c 100644
--- a/Wox/Wox.csproj
+++ b/Wox/Wox.csproj
@@ -1,5 +1,5 @@
-
+
Debug
@@ -9,7 +9,7 @@
Properties
Wox
Wox
- v3.5
+ v4.5.2
512
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
4
@@ -61,11 +61,11 @@
- ..\packages\Exceptionless.1.5.2121\lib\net35\Exceptionless.dll
+ ..\packages\Exceptionless.1.5.2121\lib\net45\Exceptionless.dll
True
- ..\packages\Exceptionless.1.5.2121\lib\net35\Exceptionless.Models.dll
+ ..\packages\Exceptionless.1.5.2121\lib\net45\Exceptionless.Models.dll
True
@@ -77,7 +77,7 @@
True
- ..\packages\Newtonsoft.Json.7.0.1\lib\net35\Newtonsoft.Json.dll
+ ..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
True
@@ -98,6 +98,7 @@
+
diff --git a/Wox/packages.config b/Wox/packages.config
index 5dbff92493..c9c320e58b 100644
--- a/Wox/packages.config
+++ b/Wox/packages.config
@@ -1,10 +1,10 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file