Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

desktop: do not gitignore *.patch

Abdullah Attae5998f51e91c
diff --git a/.gitignore b/.gitignore
index 785797f5c..4209e5c03 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,4 +11,4 @@ nx-cloud.env
site
node_modules.backup
.nx
-*.patch
+/*.patch
diff --git a/apps/desktop/scripts/patch-better-sqlite3.mjs b/apps/desktop/scripts/patch-better-sqlite3.mjs
index d6b9c26a1..eddf894c1 100644
--- a/apps/desktop/scripts/patch-better-sqlite3.mjs
+++ b/apps/desktop/scripts/patch-better-sqlite3.mjs
@@ -25,6 +25,8 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
export async function patchBetterSQLite3() {
+ console.log("Patching better-sqlite3");
+
const jsonPath = path.join(
__dirname,
"..",
@@ -52,6 +54,5 @@ export async function patchBetterSQLite3() {
}
if (process.argv[1] === __filename) {
- console.log("Patching better-sqlite3");
patchBetterSQLite3();
}
diff --git a/apps/web/src/views/all-notes.tsx b/apps/web/src/views/all-notes.tsx
index af47f38f7..75eca864c 100644
--- a/apps/web/src/views/all-notes.tsx
+++ b/apps/web/src/views/all-notes.tsx
@@ -26,7 +26,6 @@ import { useSearch } from "../hooks/use-search";
import { db } from "../common/db";
import { useEditorStore } from "../stores/editor-store";
import { ListLoader } from "../components/loaders/list-loader";
-import Search from "./search";
function Home() {
const notes = useStore((store) => store.notes);