-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 保证云函数能直接调用启动脚本 * 添加末尾空格 以免某些shell无法正确执行。 * 还原 .gitignore 还原因为粗心提交上去的本地文件忽略 --------- Signed-off-by: BuildTools <[email protected]>
- Loading branch information
1 parent
2af55d6
commit 8e6e79f
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/bin/sh | ||
echo "Start GOCQHTTP~~~" | ||
|
||
cp -f config.yml /tmp/config.yml | ||
cp -f device.json /tmp/device.json | ||
./go-cqhttp -w="/tmp/" faststart | ||
#!/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 |