Fix running on older nodejs versions

The shebang does not work without extension
This commit is contained in:
Marko Korhonen 2023-11-23 20:24:35 +02:00
parent 536aaa01b0
commit 6bbfd25745
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
5 changed files with 8 additions and 13 deletions

4
bin/wtc Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
DIR="$(dirname "$(readlink -f "$0")")"
node "$DIR/../dist/wtc.js" "$@"