Fix issues with web search icons

This commit is contained in:
Yeechan Lu 2014-03-27 17:19:50 +08:00
parent 9a2ffc1d7c
commit 59d9840d7b
3 changed files with 6 additions and 2 deletions

View File

@ -64,6 +64,7 @@ namespace Wox.Infrastructure.Storage
{ {
LoadDefaultConfig(); LoadDefaultConfig();
} }
} }
public void Save() public void Save()

View File

@ -77,6 +77,9 @@ namespace Wox.Plugin.System
protected override void InitInternal(PluginInitContext context) protected override void InitInternal(PluginInitContext context)
{ {
this.context = context; this.context = context;
if (UserSettingStorage.Instance.WebSearches == null)
UserSettingStorage.Instance.WebSearches = UserSettingStorage.Instance.LoadDefaultWebSearches();
} }
} }
} }

View File

@ -382,8 +382,8 @@
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" /> <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<PropertyGroup> <PropertyGroup>
<PostBuildEvent>xcopy /Y $(ProjectDir)Themes\*.* $(TargetDir)Themes\ <PostBuildEvent>xcopy /Y $(ProjectDir)Themes\* $(TargetDir)Themes\
xcopy /Y $(ProjectDir)Images\*.* $(TargetDir)Images\ xcopy /Y /E $(ProjectDir)Images\* $(TargetDir)Images\
del /s /q "$(TargetDir)*.xml"</PostBuildEvent> del /s /q "$(TargetDir)*.xml"</PostBuildEvent>
</PropertyGroup> </PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.