Fix mouse click issues and add a new hotmovie plugin.

This commit is contained in:
qianlifeng
2014-03-05 22:32:21 +08:00
parent 62475f9bcf
commit b38fa395ce
12 changed files with 222 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using Python.Runtime;
@@ -33,6 +34,7 @@ namespace Wox.PluginLoader
private bool CheckPythonEnvironmentInstalled() {
try
{
SetPythonHome();
PythonEngine.Initialize();
PythonEngine.Shutdown();
}
@@ -42,5 +44,12 @@ namespace Wox.PluginLoader
}
return true;
}
private void SetPythonHome()
{
//Environment.SetEnvironmentVariable("PYTHONHOME",Path.Combine(Directory.GetCurrentDirectory(),"PythonHome"));
//PythonEngine.PythonHome =
//PythonEngine.ProgramName
}
}
}