#!/bin/bash
# FintBot Trader GUI Launcher
# Author: Alex.S.Shubin <renard.corp@hotmail.com>

# Запуск в терминале
if command -v sakura &> /dev/null; then
    exec sakura -t "FintBot Trader" -e "fintbot"
elif command -v konsole &> /dev/null; then
    exec konsole --title "FintBot Trader" -e "fintbot"
elif command -v xterm &> /dev/null; then
    exec xterm -title "FintBot Trader" -e "fintbot"
else
    echo "❌ Терминал не найден! Запуск в текущем окне..."
    fintbot
fi
