feat: --experimental-use-manager
This commit is contained in:
parent
e74b73a640
commit
9aed446751
11
connect.sh
11
connect.sh
@ -23,4 +23,13 @@ if [ ! -f .connector ]; then
|
||||
fi
|
||||
|
||||
CONNECTOR=$(cat .connector)
|
||||
npx holesail $CONNECTOR
|
||||
|
||||
if [[ "$1" == "--experimental-use-manager" ]]; then
|
||||
echo -e "Connecting using holesail manager is experimental.\nYou can report any bugs here: https://git.ssh.surf/Cyber/dlinux-connect/issues\n"
|
||||
|
||||
npx --package=holesail -- holesail-manager create $CONNECTOR --name dlinux-connect
|
||||
sleep 3 # Wait for the connection to open
|
||||
ssh localhost -p 8989
|
||||
else
|
||||
npx holesail $CONNECTOR
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user