Make sure the places.sqlite file exists

before loading Firefox bookmarks.
This commit is contained in:
Ioannis G
2014-07-02 18:43:54 +03:00
parent 6807dcbd5d
commit 73530f59de
3 changed files with 10 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ namespace Wox.Plugin.BrowserBookmark
public List<Bookmark> GetBookmarks(string search = null)
{
//TODO: Maybe load bookmarks here instead of pre-loading them at startup?
if (string.IsNullOrEmpty(search)) return bookmarks;
var fuzzyMatcher = FuzzyMatcher.Create(search);