diff --git a/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.Release.csproj b/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.Release.csproj
new file mode 100644
index 000000000..cba4af586
--- /dev/null
+++ b/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.Release.csproj
@@ -0,0 +1,75 @@
+
+
+
+
+ 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/ReleaseBuild.bat b/ReleaseBuild.bat
new file mode 100644
index 000000000..5db60506e
--- /dev/null
+++ b/ReleaseBuild.bat
@@ -0,0 +1,19 @@
+@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 c26c5eacf..7b8d53dc7 100644
--- a/Wox.Infrastructure/CommonStorage.cs
+++ b/Wox.Infrastructure/CommonStorage.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.IO;
+using System.Windows.Forms;
using Newtonsoft.Json;
using Wox.Infrastructure.UserSettings;
@@ -9,7 +10,7 @@ namespace Wox.Infrastructure
[Serializable]
public class CommonStorage
{
- private static string configPath = Directory.GetCurrentDirectory() + "\\data.json";
+ private static string configPath = Directory.GetCurrentDirectory() + "\\config.json";
private static object locker = new object();
private static CommonStorage storage;
@@ -62,7 +63,7 @@ namespace Wox.Infrastructure
Instance.UserSetting.Theme = "Default";
Instance.UserSetting.ReplaceWinR = true;
Instance.UserSetting.WebSearches = Instance.UserSetting.LoadDefaultWebSearches();
- Instance.UserSetting.Hotkey = "Alt + Space";
+ Instance.UserSetting.Hotkey = "Win + W";
}
public static CommonStorage Instance
diff --git a/Wox/Wox.csproj b/Wox/Wox.csproj
index 3506ed8de..a90218e47 100644
--- a/Wox/Wox.csproj
+++ b/Wox/Wox.csproj
@@ -47,7 +47,7 @@
AnyCPU
pdbonly
true
- bin\Release\
+ ..\Release\
TRACE
prompt
4
@@ -325,4 +325,4 @@ xcopy /Y $(ProjectDir)Themes\*.* $(TargetDir)Themes\
-->
-
\ No newline at end of file
+
diff --git a/Wox/config.json b/Wox/config.json
new file mode 100644
index 000000000..1d28efaa1
--- /dev/null
+++ b/Wox/config.json
@@ -0,0 +1,29 @@
+{
+ "UserSetting": {
+ "Hotkey": "Win + W",
+ "Theme": "Default",
+ "ReplaceWinR": true,
+ "WebSearches": [
+ {
+ "Title": "Google",
+ "ActionWord": "g",
+ "IconPath": "e:\\github\\wox\\Wox\\bin\\Debug\\Images\\websearch\\google.png",
+ "Url": "https://www.google.com/search?q={q}",
+ "Enabled": true
+ },
+ {
+ "Title": "Wikipedia",
+ "ActionWord": "wiki",
+ "IconPath": "e:\\github\\wox\\Wox\\bin\\Debug\\Images\\websearch\\wiki.png",
+ "Url": "http://en.wikipedia.org/wiki/{q}",
+ "Enabled": true
+ }
+ ],
+ "CustomPluginHotkeys": null,
+ "StartWoxOnSystemStartup": false
+ },
+ "UserSelectedRecords": {
+ "Records": {
+ }
+ }
+}