mirror of
https://git.bits.team/Bits/mod-manager.git
synced 2024-11-23 06:28:23 -05:00
Add a shebang to the executable script for shell compatibility
This commit is contained in:
parent
c43554597f
commit
518398d626
@ -81,7 +81,8 @@ cp -r build/flat/* "$INSTALL_DIR" || exit
|
|||||||
|
|
||||||
# Creating executable
|
# Creating executable
|
||||||
info "Creating executable..."
|
info "Creating executable..."
|
||||||
echo "node $INSTALL_DIR/index.js \$@" > $BINARY_PATH || exit
|
echo "#!/bin/sh" > $BINARY_PATH || exit
|
||||||
|
echo "node $INSTALL_DIR/index.js \$@" >> $BINARY_PATH || exit
|
||||||
chmod +x $BINARY_PATH || exit
|
chmod +x $BINARY_PATH || exit
|
||||||
|
|
||||||
# Cleaning up
|
# Cleaning up
|
||||||
|
Loading…
Reference in New Issue
Block a user