Add Discord-native hybrid front-end for Jarvis (bot + bridge)
Some checks failed
Release / semantic-release (push) Successful in 59s
tests / Unit tests (Linux, Python 3.11) (push) Successful in 13m45s
Release / build-linux (push) Failing after 7m47s
Release / build-windows (push) Has been cancelled
Release / build-macos (arm64, macos-latest) (push) Has been cancelled
Release / build-macos (x64, macos-15-intel) (push) Has been cancelled
Release / release-main (push) Has been cancelled
Release / release-develop (push) Has been cancelled
Some checks failed
Release / semantic-release (push) Successful in 59s
tests / Unit tests (Linux, Python 3.11) (push) Successful in 13m45s
Release / build-linux (push) Failing after 7m47s
Release / build-windows (push) Has been cancelled
Release / build-macos (arm64, macos-latest) (push) Has been cancelled
Release / build-macos (x64, macos-15-intel) (push) Has been cancelled
Release / release-main (push) Has been cancelled
Release / release-develop (push) Has been cancelled
Transform isair/jarvis into a Discord-controlled voice assistant running on the Ubuntu VNC desktop, keeping the mature ~39k-line Python brain intact. - bot/ (Node + bun, discord.js): /자비스 slash commands (ephemeral), voice channel join + voice receive/playback, pluggable VNC screen broadcast (selfbot live / noVNC / screenshot) - bridge/ (Python, Flask): wraps jarvis STT + run_reply_engine + Piper TTS behind a thin localhost HTTP API - .env.example, scripts/ (start_bridge/start_bot/dev), README rewrite, docs/language-comparison.md and docs/vnc-xfce-setup.md Language decision: hybrid (Python brain + Node/bun Discord layer) because Discord blocks bot video; native screen broadcast only works via a Node selfbot library.
This commit is contained in:
55
scripts/test_bundled_app.sh
Executable file
55
scripts/test_bundled_app.sh
Executable file
@@ -0,0 +1,55 @@
|
||||
#!/bin/bash
|
||||
# Test script to build and run the bundled macOS app locally
|
||||
|
||||
set -e
|
||||
|
||||
echo "🔨 Building Jarvis Desktop App with PyInstaller..."
|
||||
echo ""
|
||||
|
||||
# Get to project root
|
||||
cd "$(dirname "$0")/.." || exit
|
||||
|
||||
# Clean previous builds
|
||||
echo "🧹 Cleaning previous builds..."
|
||||
rm -rf build dist
|
||||
echo ""
|
||||
|
||||
# Build with PyInstaller
|
||||
echo "📦 Building app bundle..."
|
||||
python -m PyInstaller jarvis_desktop.spec
|
||||
echo ""
|
||||
|
||||
# Check if build succeeded
|
||||
if [ -d "dist/Jarvis.app" ]; then
|
||||
echo "✅ Build successful!"
|
||||
echo ""
|
||||
echo "📍 App location: $(pwd)/dist/Jarvis.app"
|
||||
echo ""
|
||||
|
||||
# Show app contents for debugging
|
||||
echo "📂 App structure:"
|
||||
ls -lh dist/Jarvis.app/Contents/MacOS/
|
||||
echo ""
|
||||
|
||||
# Make the app executable
|
||||
chmod +x dist/Jarvis.app/Contents/MacOS/Jarvis
|
||||
|
||||
# Run the app in terminal to see output
|
||||
echo "🚀 Launching app (console mode enabled for debugging)..."
|
||||
echo " This should open a Terminal window showing the app's output"
|
||||
echo " If successful, you'll see the Jarvis icon in the menu bar"
|
||||
echo ""
|
||||
|
||||
open -a Terminal dist/Jarvis.app
|
||||
|
||||
echo ""
|
||||
echo "📝 If the app crashes or fails:"
|
||||
echo " 1. Check the Terminal window that opened for error messages"
|
||||
echo " 2. Check ~/Library/Logs/jarvis_desktop_crash.log"
|
||||
echo " 3. Run manually: ./dist/Jarvis.app/Contents/MacOS/Jarvis"
|
||||
echo ""
|
||||
else
|
||||
echo "❌ Build failed! Check the output above for errors."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user