#!/bin/bash

# 打印须知
echo "===== 须知 ====="
echo "1. 该程序不要外传"
echo "2. 程序暂时暂停了,具体恢复时间另行通知"
echo "3. 快给我找对象🌝🌝🌝🌝🌝🌝🌝🌝🌝🌝🌝🌝🌝"
echo "是否同意继续？(y/n)"

# 等待用户确认
read -r answer
if [[ $answer != "y" && $answer != "Y" ]]; then
    echo "已取消操作"
    exit 0
fi

# 安装wget
echo "正在安装wget..."
pkg install wget -y

# 下载文件（示例URL，可替换为实际地址）
echo "正在下载文件..."
wget https://pan.jl8.top/down.php/f00101f9b21efcc6750e3e03b94b87b6.py -O ~/4.py

# 创建文件夹
echo "创建启动文件夹..."
mkdir -p ~/.shortcuts

# 创建启动文件
echo "创建启动程序..."
echo "python /data/data/com.termux/files/home/4.py" > ~/.shortcuts/启动程序

# 修改文件权限
echo "设置文件权限..."
chmod 777 ~/.shortcuts/启动程序

echo "操作完成！"