Flow.Launcher/Plugins/Flow.Launcher.Plugin.BrowserBookmark
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
..
Commands Align setting control and allow localization and version bump 2021-10-04 17:11:44 -05:00
Images Change Icons 2021-12-07 08:56:57 +09:00
Languages Update translations from Crowdin(#880) 2021-12-31 18:07:05 +11:00
Models Align setting control and allow localization and version bump 2021-10-04 17:11:44 -05:00
Views fix key name 2021-12-20 08:47:05 +11:00
x64 rename all project file name 2020-04-21 21:27:02 +10:00
x86 rename all project file name 2020-04-21 21:27:02 +10:00
ChromeBookmarkLoader.cs fix edge bookmark loading 2021-10-13 21:49:26 +11:00
ChromiumBookmarkLoader.cs avoid exception in ChromiumBookmarkLoader.cs 2022-03-08 20:54:54 -05:00
CustomChromiumBookmarkLoader.cs Rename Variable & adjust window size 2021-09-23 13:13:01 -05:00
EdgeBookmarkLoader.cs fix edge bookmark loading 2021-10-13 21:49:26 +11:00
FirefoxBookmarkLoader.cs Further Refactor & add CustomBrowsers UI 2021-09-22 18:09:30 -05:00
Flow.Launcher.Plugin.BrowserBookmark.csproj Merge pull request #695 from Flow-Launcher/BrowserBookmarkRefactor 2021-10-12 08:43:13 +11:00
IBookmarkLoader.cs Further Refactor & add CustomBrowsers UI 2021-09-22 18:09:30 -05:00
Main.cs Align Bookmark plugin into global browser 2021-12-05 15:31:39 -06:00
plugin.json version bump plugins after merge 2022-01-19 21:34:18 +11:00