This is for a Google Assistant relay.
Code: Select all
node index.js
Code: Select all
node index.js
Code: Select all
gnome-terminal
Code: Select all
gnome-terminal myscript.bsh
Code: Select all
#! /bin/bash
# script to run Google Assistant APK on startup
gnome-terminal cd /home/michael/assistant-relay-master
node index.js
http://manpages.ubuntu.com/manpages/xen ... nal.1.htmlApexDestroyer wrote: ⤴Tue Feb 20, 2018 10:15 amautostart.bsh:Code: Select all
#! /bin/bash # script to run Google Assistant APK on startup gnome-terminal cd /home/michael/assistant-relay-master node index.js
Code: Select all
OPTIONS
-e, --command=STRING
Execute the argument to this option inside the terminal.
Code: Select all
--working-directory=DIRNAME
Set the terminal's working directory to DIRNAME.
Code: Select all
gnome-terminal --working-directory=/home/michael/assistant-relay-master -x bash -c "node index.js; bash"
Code: Select all
#! /bin/bash
# script to run Google Assistant APK on startup
gnome-terminal --working-directory=assistant-relay-master/ -x node "index.js"