Add macOS app bundle packaging, native launcher, and MACOS_APP_PACKAGING guide
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Main entrypoint for VoiceAgent macOS App bundle."""
|
||||
|
||||
import asyncio
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Ensure CA certificates are configured for macOS SSL
|
||||
os.environ["SSL_CERT_FILE"] = "/etc/ssl/cert.pem"
|
||||
os.environ["REQUESTS_CA_BUNDLE"] = "/etc/ssl/cert.pem"
|
||||
|
||||
import bot
|
||||
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
sys.exit(asyncio.run(bot.main()))
|
||||
except KeyboardInterrupt:
|
||||
sys.exit(0)
|
||||
Reference in New Issue
Block a user