diff --git a/CleanReleaseBuild.py b/CleanReleaseBuild.py new file mode 100644 index 0000000000..e6470759b7 --- /dev/null +++ b/CleanReleaseBuild.py @@ -0,0 +1,10 @@ +import os + +ReleaseDirectory = "Release" + +for root, dirs, files in os.walk(ReleaseDirectory): + for file in files: + if file.endswith(".pdb") or file.endswith(".xml"): + path = os.path.join(root, file) + print "delete file:" + path + os.remove(path) diff --git a/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.Release.csproj b/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.Release.csproj deleted file mode 100644 index cba4af5862..0000000000 --- a/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.Release.csproj +++ /dev/null @@ -1,75 +0,0 @@ - - - - - Release - AnyCPU - {049490F0-ECD2-4148-9B39-2135EC346EBE} - Library - Properties - Wox.Plugin.PluginManagement - Wox.Plugin.PluginManagement - v3.5 - 512 - ..\..\ - true - - - None - true - ..\..\Release\Plugins\Wox.Plugin.WPM\ - TRACE - prompt - 4 - - - - ..\..\packages\Newtonsoft.Json.5.0.8\lib\net35\Newtonsoft.Json.dll - - - - - - - - - - - - - - - - - {8451ecdd-2ea4-4966-bb0a-7bbc40138e80} - Wox.Plugin - - - - - - Always - - - - - - - - xcopy /Y /E $(ProjectDir)Images Images\ - - - - - 这台计算机上缺少此项目引用的 NuGet 程序包。启用“NuGet 程序包还原”可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。 - - - - - diff --git a/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj b/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj index 4ce95001e1..5745b44a33 100644 --- a/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj +++ b/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj @@ -1,85 +1,85 @@ - - - - - Debug - AnyCPU - {049490F0-ECD2-4148-9B39-2135EC346EBE} - Library - Properties - Wox.Plugin.PluginManagement - Wox.Plugin.PluginManagement - v3.5 - 512 - ..\..\ - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\..\packages\Newtonsoft.Json.5.0.8\lib\net35\Newtonsoft.Json.dll - - - - - - - - - - - - - - - - - {8451ecdd-2ea4-4966-bb0a-7bbc40138e80} - Wox.Plugin - - - - - - Always - - - - - - - - xcopy /Y /E $(TargetDir)*.* $(SolutionDir)Wox\bin\Debug\Plugins\$(ProjectName)\ -xcopy /Y /E $(ProjectDir)Images $(SolutionDir)Wox\bin\Debug\Plugins\$(ProjectName)\Images\ - - - - - 这台计算机上缺少此项目引用的 NuGet 程序包。启用“NuGet 程序包还原”可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。 - - - - - \ No newline at end of file + + + + + Debug + AnyCPU + {049490F0-ECD2-4148-9B39-2135EC346EBE} + Library + Properties + Wox.Plugin.PluginManagement + Wox.Plugin.PluginManagement + v3.5 + 512 + ..\..\ + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + ..\..\Release\Plugins\Wox.Plugin.PluginManagement\ + TRACE + prompt + 4 + + + + ..\..\packages\Newtonsoft.Json.5.0.8\lib\net35\Newtonsoft.Json.dll + + + + + + + + + + + + + + + + + {8451ecdd-2ea4-4966-bb0a-7bbc40138e80} + Wox.Plugin + + + + + + Always + + + + + + + + xcopy /Y /E $(TargetDir)*.* $(SolutionDir)Wox\bin\Debug\Plugins\$(ProjectName)\ +xcopy /Y /E $(ProjectDir)Images $(SolutionDir)Wox\bin\Debug\Plugins\$(ProjectName)\Images\ + + + + + 这台计算机上缺少此项目引用的 NuGet 程序包。启用“NuGet 程序包还原”可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。 + + + + + diff --git a/ReleaseBuild.bat b/ReleaseBuild.bat deleted file mode 100644 index 5db60506e9..0000000000 --- a/ReleaseBuild.bat +++ /dev/null @@ -1,19 +0,0 @@ -@echo off - -set DOTNET_HOME=%windir%\Microsoft.NET\Framework64\v4.0.30319 -set ReleaseFolder=Release - -if exist %ReleaseFolder% RMDIR %ReleaseFolder% /S /Q - -%DOTNET_HOME%\MSBUILD.exe wox.sln /p:Configuration=Release - -REM default plugins -%DOTNET_HOME%\MSBUILD.exe Plugins\Wox.Plugin.PluginManagement\Wox.Plugin.PluginManagement.Release.csproj - -copy wox\config.json %ReleaseFolder%\cofnig.json -for %%f in (%ReleaseFolder%\*.xml) do ( - del %%f -) -for %%f in (%ReleaseFolder%\*.pdb) do ( - del %%f -) diff --git a/Wox.Infrastructure/CommonStorage.cs b/Wox.Infrastructure/CommonStorage.cs index 7b8d53dc73..3a9ed0a137 100644 --- a/Wox.Infrastructure/CommonStorage.cs +++ b/Wox.Infrastructure/CommonStorage.cs @@ -60,7 +60,7 @@ namespace Wox.Infrastructure private static void LoadDefaultUserSetting() { //default setting - Instance.UserSetting.Theme = "Default"; + Instance.UserSetting.Theme = "Dark"; Instance.UserSetting.ReplaceWinR = true; Instance.UserSetting.WebSearches = Instance.UserSetting.LoadDefaultWebSearches(); Instance.UserSetting.Hotkey = "Win + W"; diff --git a/Wox.UAC/Wox.UAC.csproj b/Wox.UAC/Wox.UAC.csproj index d03ad27b1b..cb605643c9 100644 --- a/Wox.UAC/Wox.UAC.csproj +++ b/Wox.UAC/Wox.UAC.csproj @@ -1,142 +1,142 @@ - - - - - Debug - AnyCPU - {C9BC17A0-C2BC-4185-AC1F-32E3352C1233} - WinExe - Properties - Wox.UAC - Wox.UAC - v3.5 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - ..\ - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - app.ico - - - app.manifest - - - - False - ..\packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll - - - ..\packages\log4net.2.0.3\lib\net35-full\log4net.dll - - - False - ..\packages\Newtonsoft.Json.6.0.1\lib\net35\Newtonsoft.Json.dll - - - - - - - - - - - - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - MainWindow.xaml - Code - - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - {4fd29318-a8ab-4d8f-aa47-60bc241b8da3} - Wox.Infrastructure - - - {8451ecdd-2ea4-4966-bb0a-7bbc40138e80} - Wox.Plugin - - - - - - - - xcopy /Y /E $(TargetPath) $(SolutionDir)Wox\bin\Debug\ - - - - - 这台计算机上缺少此项目引用的 NuGet 程序包。启用“NuGet 程序包还原”可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。 - - - - - \ No newline at end of file + + + + + Debug + AnyCPU + {C9BC17A0-C2BC-4185-AC1F-32E3352C1233} + WinExe + Properties + Wox.UAC + Wox.UAC + v3.5 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + ..\ + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + ..\Release\ + TRACE + prompt + 4 + + + app.ico + + + app.manifest + + + + False + ..\packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll + + + ..\packages\log4net.2.0.3\lib\net35-full\log4net.dll + + + False + ..\packages\Newtonsoft.Json.6.0.1\lib\net35\Newtonsoft.Json.dll + + + + + + + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + {4fd29318-a8ab-4d8f-aa47-60bc241b8da3} + Wox.Infrastructure + + + {8451ecdd-2ea4-4966-bb0a-7bbc40138e80} + Wox.Plugin + + + + + + + + xcopy /Y /E $(TargetPath) $(SolutionDir)Wox\bin\Debug\ + + + + + 这台计算机上缺少此项目引用的 NuGet 程序包。启用“NuGet 程序包还原”可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。 + + + + + diff --git a/Wox.sln b/Wox.sln index e07a5c6c06..a83e05217e 100644 --- a/Wox.sln +++ b/Wox.sln @@ -1,6 +1,8 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30110.0 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Wox.Test", "Wox.Test\Wox.Test.csproj", "{FF742965-9A80-41A5-B042-D6C7D3A21708}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Wox.Plugin", "Wox.Plugin\Wox.Plugin.csproj", "{8451ECDD-2EA4-4966-BB0A-7BBC40138E80}" diff --git a/Wox/Themes/Default.xaml b/Wox/Themes/Default.xaml index 7ed645773f..f3d3b6d6e4 100644 --- a/Wox/Themes/Default.xaml +++ b/Wox/Themes/Default.xaml @@ -3,7 +3,7 @@ xmlns:system="clr-namespace:System;assembly=mscorlib">