File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Plugins/Flow.Launcher.Plugin.BrowserBookmark Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public List<Bookmark> GetBookmarks()
18
18
return bookmarks ;
19
19
}
20
20
21
- private void ParseEdgeBookmarks ( String path , string source )
21
+ private void ParseEdgeBookmarks ( string path , string source )
22
22
{
23
23
if ( ! File . Exists ( path ) ) return ;
24
24
@@ -72,12 +72,13 @@ private void LoadEdgeBookmarks(string path, string name)
72
72
73
73
private void LoadEdgeBookmarks ( )
74
74
{
75
- String platformPath = Environment . GetFolderPath ( Environment . SpecialFolder . LocalApplicationData ) ;
75
+ string platformPath = Environment . GetFolderPath ( Environment . SpecialFolder . LocalApplicationData ) ;
76
76
LoadEdgeBookmarks ( Path . Combine ( platformPath , @"Microsoft\Edge\User Data" ) , "Microsoft Edge" ) ;
77
+ LoadEdgeBookmarks ( Path . Combine ( platformPath , @"Microsoft\Edge Dev\User Data" ) , "Microsoft Edge Dev" ) ;
77
78
LoadEdgeBookmarks ( Path . Combine ( platformPath , @"Microsoft\Edge SxS\User Data" ) , "Microsoft Edge Canary" ) ;
78
79
}
79
80
80
- private String DecodeUnicode ( String dataStr )
81
+ private string DecodeUnicode ( string dataStr )
81
82
{
82
83
Regex reg = new Regex ( @"(?i)\\[uU]([0-9a-f]{4})" ) ;
83
84
return reg . Replace ( dataStr , m => ( ( char ) Convert . ToInt32 ( m . Groups [ 1 ] . Value , 16 ) ) . ToString ( ) ) ;
You can’t perform that action at this time.
0 commit comments