From 56ab50126b5674689833e6bd6feee632128d3616 Mon Sep 17 00:00:00 2001 From: Ziyang Hu Date: Fri, 23 Dec 2022 01:52:59 +0800 Subject: [PATCH] update node readme for the correct filename --- cozo-lib-nodejs/README-zh.md | 2 +- cozo-lib-nodejs/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cozo-lib-nodejs/README-zh.md b/cozo-lib-nodejs/README-zh.md index 3e68f537..86e243f2 100644 --- a/cozo-lib-nodejs/README-zh.md +++ b/cozo-lib-nodejs/README-zh.md @@ -123,7 +123,7 @@ cargo build --release -p cozo-node -F compact -F storage-rocksdb and then find the dynamic library (names can vary a lot, the file extension is `.so` on Linux, `.dylib` on Mac, and `.dll` on Windows) under the `../target/` folder (you may need to search for it). -Copy it to the file `native/6/index.node` under this directory (create intermediate directories if they don't exist). +Copy it to the file `native/6/cozo_node_prebuilt.node` under this directory (create intermediate directories if they don't exist). If you did everything correctly, you should get the hello world message printed out when you run diff --git a/cozo-lib-nodejs/README.md b/cozo-lib-nodejs/README.md index fa91bec6..220ce500 100644 --- a/cozo-lib-nodejs/README.md +++ b/cozo-lib-nodejs/README.md @@ -123,7 +123,7 @@ cargo build --release -p cozo-node -F compact -F storage-rocksdb and then find the dynamic library (names can vary a lot, the file extension is `.so` on Linux, `.dylib` on Mac, and `.dll` on Windows) under the `../target/` folder (you may need to search for it). -Copy it to the file `native/6/index.node` under this directory (create intermediate directories if they don't exist). +Copy it to the file `native/6/cozo_node_prebuilt.node` under this directory (create intermediate directories if they don't exist). If you did everything correctly, you should get the hello world message printed out when you run