forked from gourcetools/NostrAirTracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SETUP.sh
executable file
·41 lines (35 loc) · 1.02 KB
/
SETUP.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
echo "==============="
echo " ICAO ID SETUP"
echo ""===============""
echo " Example: "
echo "👉 For: https://globe.theairtraffic.com/?icao=a8cc46"
echo "👉 You need to enter: a8cc46 "
echo " "
echo "=========="
echo " ICAO ID?"
read icaoid
echo "$icaoid" > ./config/ICAO-ID.txt
echo "✅ $icaoid defined as ICAO-ID in ./config/ICAO-ID.txt"
echo "==============="
echo " BROWSER SETUP"
echo ""===============""
echo " Example: "
echo "👉 /usr/bin/google-chrome "
echo " "
echo "=========="
echo " BROWSER EXECUTABLE?"
read browser
echo "$browser" > ./config/PUP-BROWSER-LOCATION.txt
echo "✅ $browser defined as BROWSER PATH in ./config/PUP-BROWSER-LOCATION.txt"
echo "==============="
echo " NOSTR HEX PRIVKEY SETUP"
echo "==============="
echo " Example: "
echo "👉 4c2d5923056ed9a19594e9e2a8589eef308c3563501f9779c488984d39eadbcf"
echo " "
echo "=========="
echo " NOSTR HEX PRIVKEY ?"
read key
echo "$key" > ./config/NOSTR-HEX-PRIVKEY.txt
echo "✅ $key defined as NOSTR-HEX-PRIVKEY in ./config/NOSTR-HEX-PRIVKEY.txt"