We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9571162 commit 9947c44Copy full SHA for 9947c44
run.sh
@@ -68,7 +68,7 @@ check_required_files() {
68
# 设置文件权限
69
setup_file_permissions() {
70
log_info "设置文件权限..."
71
- chmod +x rust-mev-bot jupiter-swap-api run-jup.sh kill-jup.sh mints-query.sh 2>/dev/null || true
+ chmod +x rust-mev-bot upgrade.sh jupiter-swap-api run-jup.sh kill-jup.sh mints-query.sh 2>/dev/null || true
72
}
73
74
# 获取重启间隔时间(分钟)
upgrade.sh
@@ -108,3 +108,13 @@ echo "🧹 正在清理..."
108
rm -f "$output_file"
109
110
echo "✨ 进程成功完成!"
111
+
112
+# 设置文件权限
113
+setup_file_permissions() {
114
+ echo "🔒 设置文件权限..."
115
+ chmod +x run.sh 2>/dev/null || true
116
+}
117
118
+# 调用权限设置函数
119
+setup_file_permissions
120
0 commit comments