added sound notification support and forward secery setting finished

This commit is contained in:
Kevin Froman 2020-02-17 06:13:57 -06:00
parent 23782dcb8f
commit aea4815fbd
11 changed files with 76 additions and 42 deletions

View file

@ -17,7 +17,9 @@ QUOTES = [
("Like a black hole, NSA pulls in every signal that comes near, but no electron is ever allowed to escape",
"James Bamford"),
("Freedom of the press is guaranteed only to those who own one",
"A. J. Liebling")
"A. J. Liebling"),
("We kill people based on metadata",
"Authoritarians")
]
shuffle(QUOTES)
QUOTE = QUOTES[0]

View file

@ -72,7 +72,8 @@ def open_home():
'Onionr seems to not be running (could not get api host)',
terminal=True)
else:
_wait_for_ui_to_be_ready()
_wait_for_ui_to_be_ready() # wait for Tor/transports to start
sleep(3) # Sleep a little longer to wait for web UI to init some vars it needs
url = get_url()
logger.info(
'If Onionr does not open automatically, use this URL: ' + url,