Commit graph

7 commits

Author SHA1 Message Date
Kevin Zhang
a78956bbee
Merge branch 'dev' into filewatcher 2022-06-10 18:02:19 -05:00
Rick
7fe166d18b
avoid exception in ChromiumBookmarkLoader.cs
Every time I start Flow Launcher since the plugins refactor, the Bookmarks plugin has been throwing an exception.  The issue stems from it parsing the Bookmarks file, and assuming that every JsonElement in the "roots" element is a JsonValueKind.Object.  My Bookmarks file though has a JsonValueKind.String value off the roots key of `"sync_transaction_version": "20297",` along-side the bookmark_bar, other, and synced keys, which ARE objects.  When it hits that sync_transaction_version string, and calls EnumerateFolderBookmark with it, it gets into the method because it IS a JsonElement, but then throws an exception on the folderElement.TryGetProperty("children", ...) call because you can't call TryGetProperty on a String, only Objects.
2022-03-08 20:54:54 -05:00
Jeremy
18acea3321 remove dup RegisterBookmarkFile & update condition 2022-02-07 08:47:28 +11:00
Hongtao Zhang
af68cb5093 detect browserbookmark file change 2022-01-08 16:58:12 -06:00
Kevin Zhang
4c10208008 quick exit when children property is not found 2021-10-29 14:09:58 -05:00
Kevin Zhang
d51579967b Further Refactor & add CustomBrowsers UI 2021-09-22 18:09:30 -05:00
Kevin Zhang
7ff9b688c9 Refactor Bookmark plugin 2021-09-21 13:50:51 -05:00