Skip to content

Commit

Permalink
Set required environment variables
Browse files Browse the repository at this point in the history
Set LD_LIBRARY_PATH and GI_TYPELIB_PATH when running locally (npm start)
to use the local libtouche.so instead of the system library.
  • Loading branch information
JoseExposito committed Aug 23, 2024
1 parent f02bb2f commit 8ed42e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"meson:release": "meson setup build --prefix=/usr --buildtype=release",
"ninja:build": "ninja -C build",
"ninja:install": "ninja -C build install",
"gjs:run": "gjs ./build/install/bin/com.github.joseexposito.touche",
"gjs:run": "LD_LIBRARY_PATH=$(pwd)/build/install/lib64 GI_TYPELIB_PATH=$(pwd)/build/install/lib64/girepository-1.0 gjs ./build/install/bin/com.github.joseexposito.touche",
"translate": "node bundle/scripts/translate.js",
"lint": "eslint --ext .js,.mjs src",
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit 8ed42e7

Please # to comment.