Skip to content

Commit

Permalink
chore: add helper scripts for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Nov 2, 2023
1 parent 29c7f29 commit c3dbee6
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 19 deletions.
106 changes: 87 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions scripts/copy_jni_libs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

set -ex

cp -rv ./jniLibs/* ../capacitor-file-sync/android/src/main/jniLibs/
9 changes: 9 additions & 0 deletions scripts/copy_napi_libs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

set -ex

cp -v ./packages/rsapi/rsapi.darwin-arm64.node ../logseq/static/node_modules/@logseq/rsapi-darwin-arm64/

codesign -f -s - ../logseq/static/node_modules/@logseq/rsapi-darwin-arm64/rsapi.darwin-arm64.node

cp -v ./packages/rsapi/index.* ../logseq/static/node_modules/@logseq/rsapi/

0 comments on commit c3dbee6

Please sign in to comment.