|
@@ -427,11 +427,11 @@ function get_app_onion_address {
|
427
|
427
|
mobilestr="$2"
|
428
|
428
|
|
429
|
429
|
if [ ${#mobilestr} -gt 0 ]; then
|
430
|
|
- mobilestr="_${mobilestr}"
|
|
430
|
+ app_name="mobile${app_name}"
|
431
|
431
|
fi
|
432
|
|
- if grep -q "${app_name}${mobilestr} onion domain" $COMPLETION_FILE; then
|
433
|
|
- if grep -q "${app_name}${mobilestr} onion domain" $COMPLETION_FILE; then
|
434
|
|
- echo $(cat ${COMPLETION_FILE} | grep "${app_name}${mobilestr} onion domain" | head -n 1 | awk -F ':' '{print $2}')
|
|
432
|
+ if grep -q "${app_name} onion domain" $COMPLETION_FILE; then
|
|
433
|
+ if grep -q "${app_name} onion domain" $COMPLETION_FILE; then
|
|
434
|
+ echo $(cat ${COMPLETION_FILE} | grep "${app_name} onion domain" | head -n 1 | awk -F ':' '{print $2}')
|
435
|
435
|
return
|
436
|
436
|
fi
|
437
|
437
|
fi
|