summarylogtreecommitdiffstats
path: root/stream-overlay.sh
blob: e6a846893340d0eb14f263399cc6480b4ad11976 (plain)
1
2
3
4
5
6
7
#!/bin/sh
# Because electron doesn't auto-symlink for latest, simply use the latest here.
# sed finds the last match for an executable file (ends in *) and then removes the *
ELECTRON_PATH="`ls -1Ftr /usr/bin/electron* | sed -n '/.*\*$/h; ${x;p;}' | sed 's/.$//'`"

cd /usr/share/stream-overlay 
nohup ${ELECTRON_PATH} app 1>/tmp/stream-overlay.out 2>/tmp/stream-overlay.err &