File tree Expand file tree Collapse file tree 1 file changed +9
-19
lines changed
Expand file tree Collapse file tree 1 file changed +9
-19
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- # Display welcome message
3+ # Display welcome message with additional information
44echo " Welcome to JitStreamer!"
5+ echo " Starting the server. This might take a few seconds..."
56
6- # Run tailscale up and let the user authenticate if needed
7+ # Run tailscale up
78tailscale up
89
9- # Check if tailscale authentication was successful
10- if [ $? -ne 0 ]; then
11- echo " Tailscale authentication failed. Please try again."
12- exit 1
13- fi
10+ # Get and display the Tailscale IPv4 address
11+ TAILSCALE_IP=$( tailscale ip -4)
12+ echo " This will be your server IP: $TAILSCALE_IP "
13+
14+ # Run usbmuxd
15+ usbmuxd
1416
1517# Activate the virtual environment
1618. ./venv/bin/activate
1719
18- # Check if venv activation was successful
19- if [ $? -ne 0 ]; then
20- echo " Failed to activate virtual environment. Please check if it exists at ./venv/bin/activate"
21- exit 1
22- fi
23-
2420# Run the JitStreamer binary
2521/root/venv/bin/JitStreamer
26-
27- # Check if JitStreamer execution was successful
28- if [ $? -ne 0 ]; then
29- echo " Failed to run JitStreamer. Please check if the binary exists at /root/venv/bin/JitStreamer"
30- exit 1
31- fi
You can’t perform that action at this time.
0 commit comments