This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#!/bin/bash
# 数学学习软件启动脚本
echo "正在启动数学学习软件..."
# 检查Python是否安装
if command -v python3 &> /dev/null; then
cd app && python3 main.py
elif command -v python &> /dev/null; then
cd app && python main.py
else
echo "错误:未找到Python解释器"
echo "请确保已安装Python 3.6或更高版本"
read -p "按回车键退出..."
fi