mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 11:07:39 +08:00
* 保证云函数能直接调用启动脚本 * 添加末尾空格 以免某些shell无法正确执行。 * 还原 .gitignore 还原因为粗心提交上去的本地文件忽略 --------- Signed-off-by: BuildTools <x123456789fy@outlook.com>
9 lines
215 B
Bash
9 lines
215 B
Bash
#!/usr/bin/env bash
|
|
function index.main_handler() {
|
|
echo "Start GOCQHTTP~~~"
|
|
cp -f config.yml /tmp/config.yml
|
|
cp -f device.json /tmp/device.json
|
|
./go-cqhttp -w="/tmp/" faststart
|
|
}
|
|
index.main_handler
|