mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 07:25:19 +00:00
feat(tor): Tor-by-default scaffold and integration
- Add TorManager with static/dlopen start, torrc generation, SOCKS probe - Add TorURLSession; route Nostr/Web fetches via SOCKS proxy - Add chat system messages for Tor status; show progress (macOS) and ready - Disable ControlPort bootstrap monitor on iOS; keep it on macOS - Make Tor waits non-blocking; avoid main-actor stalls on startup - Queue & flush Nostr subscriptions on relay connect; skip duplicates - Always rewrite torrc at launch to fix iOS container path mismatches - Link libz; add project wiring for tor-nolzma.xcframework - Minor fixes: SOCKS probe resumeOnce guard, entitlement for network.server (macOS)
This commit is contained in:
+9
-1
@@ -68,6 +68,10 @@ targets:
|
||||
- target: bitchatShareExtension
|
||||
embed: true
|
||||
- package: P256K
|
||||
- framework: Frameworks/tor-nolzma.xcframework
|
||||
embed: true
|
||||
codeSign: true
|
||||
- sdk: libz.tbd
|
||||
|
||||
bitchat_macOS:
|
||||
type: application
|
||||
@@ -100,7 +104,7 @@ targets:
|
||||
PRODUCT_BUNDLE_IDENTIFIER: chat.bitchat
|
||||
PRODUCT_NAME: bitchat
|
||||
INFOPLIST_FILE: bitchat/Info.plist
|
||||
ENABLE_PREVIEWS: YES
|
||||
ENABLE_PREVIEWS: NO
|
||||
SWIFT_VERSION: 5.0
|
||||
MACOSX_DEPLOYMENT_TARGET: 13.0
|
||||
CODE_SIGN_STYLE: Automatic
|
||||
@@ -112,6 +116,10 @@ targets:
|
||||
CODE_SIGN_ENTITLEMENTS: bitchat/bitchat-macOS.entitlements
|
||||
dependencies:
|
||||
- package: P256K
|
||||
- framework: Frameworks/tor-nolzma.xcframework
|
||||
embed: true
|
||||
codeSign: true
|
||||
- sdk: libz.tbd
|
||||
|
||||
bitchatShareExtension:
|
||||
type: app-extension
|
||||
|
||||
Reference in New Issue
Block a user