blob: b3ab0d1d9d72254c564107d540acbcbdbaff5e40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/bash
set -e
cd ~/.local/share
start="node /opt/revanced-builder/index.js"
if command -v electron; then
$start --no-open &
pid=$!
sleep 1
electron http://localhost:8000/ && kill $pid
else
$start
fi
|