changed config directory name for plugins
This commit is contained in:
parent
a46a1dff23
commit
683dc31781
1 changed files with 2 additions and 2 deletions
|
@ -114,12 +114,12 @@ class WebViewCreator(QtWebKit.QWebView):
|
|||
os_type = "osx"
|
||||
frame.evaluateJavaScript("var OS_TYPE = '" + os_type + "';")
|
||||
|
||||
js_plugin_path = os.path.expanduser('~/.config/bungloo/Plugin.js')
|
||||
js_plugin_path = os.path.expanduser('~/.config/bungloo2/Plugin.js')
|
||||
if os.access(js_plugin_path, os.R_OK):
|
||||
func = "setTimeout(function() { loadJsPlugin('file://localhost/" + js_plugin_path + "') }, 1000);"
|
||||
frame.evaluateJavaScript(func)
|
||||
|
||||
css_plugin_path = os.path.expanduser('~/.config/bungloo/Plugin.css')
|
||||
css_plugin_path = os.path.expanduser('~/.config/bungloo2/Plugin.css')
|
||||
if os.access(css_plugin_path, os.R_OK):
|
||||
func = "setTimeout(function() { loadCssPlugin('file://localhost/" + css_plugin_path + "') }, 1000);"
|
||||
frame.evaluateJavaScript(func)
|
||||
|
|
Reference in a new issue