c07ec69eaf0a9c99d79901868059ec1367b427f5
Completely replaced the install_talkkonnect_with_config() function in setup_intercom.sh with the proven method from talkkonnect_complete_install.sh. Key improvements: - Uses working Opus patch for x86_64 architecture - Installs to /usr/local/bin/talkkonnect (not ~/go/bin) - Config in ~/.config/talkkonnect/ (proper XDG location) - Sets <insecure>true</insecure> by default (handles self-signed certs) - Proper XDG_RUNTIME_DIR in systemd service for PipeWire/audio - Automatically enables service (starts on boot) - Better progress feedback and error handling - Uses Go 1.24.1 (latest stable) The function now: 1. Installs all dependencies correctly 2. Builds with proper Opus library integration 3. Creates config with user's server/credentials from prompts 4. Sets up systemd service properly 5. Enables and starts service automatically This makes setup_intercom.sh a complete, reliable one-stop solution that uses the same proven method as talkkonnect_complete_install.sh while maintaining the interactive prompt workflow. Included files: - setup_intercom.sh - Updated with new function - setup_intercom.sh.backup - Backup of original - setup_intercom_talkkonnect_function.txt - Reference for the new function - update_setup_intercom.sh - Script used to perform the replacement
Languages
Shell
94.1%
JavaScript
4.7%
HTML
0.9%
CSS
0.3%