Skip to content

Commit

Permalink
Removed bookmarks support due to sqlite implications
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschwendener committed Apr 29, 2023
1 parent 9890db2 commit 47c22c7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 80 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ Currently supported browsers:

- Google Chrome
- Chromium
- Firefox
- Brave
- Vivaldi
- SideKick
Expand Down
1 change: 0 additions & 1 deletion src/main/plugins/browser-bookmarks-plugin/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ export enum Browser {
Brave = "Brave",
Chromium = "Chromium",
Edge = "Microsoft Edge",
Firefox = "Firefox",
GoogleChrome = "Google Chrome",
SideKick = "SideKick",
Vivaldi = "Vivaldi",
Expand Down

This file was deleted.

6 changes: 0 additions & 6 deletions src/main/production/production-search-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ import { VivaldiBookmarkRepository } from "../plugins/browser-bookmarks-plugin/v
import { EdgeBookmarkRepository } from "../plugins/browser-bookmarks-plugin/edge-bookmark-repository";
import { YandexBookmarkRepository } from "../plugins/browser-bookmarks-plugin/yandex-bookmark-repository";
import { getWebearchSuggestions } from "../executors/websearch-suggestion-resolver";
import { FirefoxBookmarkRepository } from "../plugins/browser-bookmarks-plugin/firefox-bookmark-repository";
import { ChromiumBookmarkRepository } from "../plugins/browser-bookmarks-plugin/chromium-bookmark-repository";
import { WeatherPlugin } from "../plugins/weather-plugin/weather-plugin";
import { LoremIpsumPlugin } from "../plugins/lorem-ipsum-plugin/lorem-ipsum-plugin";
Expand Down Expand Up @@ -121,10 +120,6 @@ export function getProductionSearchEngine(
operatingSystem === OperatingSystem.Windows
? `${homedir()}\\AppData\\Local\\Microsoft\\Edge\\User Data\\Default\\Bookmarks`
: `${homedir()}/Library/Application Support/Microsoft Edge/Default/Bookmarks`;
const firefoxUserDataFolderPath =
operatingSystem === OperatingSystem.Windows
? `${homedir()}\\AppData\\Roaming\\Mozilla\\Firefox`
: `${homedir()}/Library/Application Support/Firefox`;
const chromiumBookmarksFilePath =
operatingSystem === OperatingSystem.Windows
? `${homedir()}\\AppData\\Local\\Chromium\\User Data\\Default\\Bookmarks`
Expand Down Expand Up @@ -188,7 +183,6 @@ export function getProductionSearchEngine(
new BraveBookmarkRepository(braveBookmarksFilePath),
new ChromiumBookmarkRepository(chromiumBookmarksFilePath),
new EdgeBookmarkRepository(edgeBookmarksFilePath),
new FirefoxBookmarkRepository(firefoxUserDataFolderPath),
new GoogleChromeBookmarkRepository(chromeBookmarksFilePath),
new SideKickBookmarkRepository(sideKickBookmarkFilePath),
new VivaldiBookmarkRepository(vivaldiBookmarksFilePath),
Expand Down

0 comments on commit 47c22c7

Please sign in to comment.