desktop: do not gitignore *.patch

This commit is contained in:
Abdullah Atta
2025-05-31 13:26:58 +05:00
parent 3d31c7d7bb
commit c9c6ee88d8
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@@ -11,4 +11,4 @@ nx-cloud.env
site
node_modules.backup
.nx
*.patch
/*.patch

View File

@@ -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();
}

View File

@@ -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);