14 lines
502 B
Bash
Executable File
14 lines
502 B
Bash
Executable File
#!/usr/bin/env bash
|
|
export API_HOST='https://api.konik.ai'
|
|
export ATHENA_HOST='wss://athena.konik.ai'
|
|
#export MAPS_HOST=https://api.konik.ai/maps
|
|
export MAPBOX_TOKEN='pk.eyJ1IjoibXJvbmVjYyIsImEiOiJjbHhqbzlkbTYxNXUwMmtzZjdoMGtrZnVvIn0.SC7GNLtMFUGDgC2bAZcKzg'
|
|
yes | bash 1.sh
|
|
# 删除执行过的脚本
|
|
rm -- 1.sh
|
|
if [[ "$(cat /data/params/d/EnableConnect)" == "2" ]]; then
|
|
export API_HOST="https://api.carrotpilot.app"
|
|
export ATHENA_HOST="wss://athena.carrotpilot.app"
|
|
fi
|
|
exec ./launch_chffrplus.sh
|