Also codesign libevent-2.1.7.dylib

This commit is contained in:
Micah Lee 2022-01-16 11:44:30 -08:00
parent eed494814a
commit c8745cd8dc
2 changed files with 5 additions and 0 deletions

View file

@ -414,6 +414,10 @@ class Onion(object):
self.common.log("Onion", "connect", f"tor pid: {self.tor_proc.pid}")
time.sleep(2)
return_code = self.tor_proc.poll()
if return_code != None:
self.common.log("Onion", "connect", f"tor process has terminated early: {return_code}")
# Connect to the controller
self.common.log("Onion", "connect", "authenticating to tor controller")
try:

View file

@ -253,6 +253,7 @@ def main():
f"{app_dir}/Contents/Resources/lib/onionshare/resources/tor/obfs4proxy",
f"{app_dir}/Contents/Resources/lib/onionshare/resources/tor/snowflake-client",
f"{app_dir}/Contents/Resources/lib/onionshare/resources/tor/tor",
f"{app_dir}/Contents/Resources/lib/onionshare/resources/tor/libevent-2.1.7.dylib",
f"{app_dir}/Contents/MacOS/onionshare",
f"{app_dir}/Contents/MacOS/onionshare-cli",
f"{app_dir}",