mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
14 lines
No EOL
562 B
C#
14 lines
No EOL
562 B
C#
using Flow.Launcher.Plugin.BrowserBookmark.Models;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Flow.Launcher.Plugin.BrowserBookmark
|
|
{
|
|
public class CustomChromiumBookmarkLoader : ChromiumBookmarkLoader
|
|
{
|
|
public string BrowserDataPath { get; init; }
|
|
public string BookmarkFilePath { get; init; }
|
|
public string BrowserName { get; init; }
|
|
|
|
public override List<Bookmark> GetBookmarks() => BrowserDataPath != null ? LoadBookmarks(BrowserDataPath, BrowserName) : LoadBookmarksFromFile(BookmarkFilePath, BrowserName);
|
|
}
|
|
} |