Update Up

This commit is contained in:
cluntop
2026-03-12 03:06:50 +08:00
parent 595f502ec3
commit 9a3a008ac8
2 changed files with 6 additions and 7 deletions
+5 -6
View File
@@ -159,6 +159,7 @@ branch() {
fi
}
# 5. 提交
# 5. 提交
submit() {
if ! check_git_repo; then return 1; fi
@@ -171,13 +172,10 @@ submit() {
curr=$(git branch --show-current)
[ -z "$curr" ] && curr="main"
info_msg "1. 拉取更新..."
git pull origin "$curr" > /dev/null 2>&1
info_msg "2. 添加文件..."
info_msg "1. 添加文件..."
git add .
info_msg "3. 提交推送..."
info_msg "2. 提交推送..."
msg="Update Up"
git commit -m "$msg"
@@ -189,6 +187,7 @@ submit() {
fi
}
# 6. 状态
state() {
[ -d ".git" ] && git status
@@ -223,7 +222,7 @@ show_menu() {
echo -e "位置: ${YELLOW}$(pwd)${NC}"
echo -e "固定仓库: ${GREEN}$MY_REPO_URL${NC}"
echo ""
echo " 1) 提交 (一键三连)"
echo " 1) 提交 (连)"
echo " 2) 拉取 (Pull)"
echo " 3) 绑定远程仓库 (Fix Remote)"
echo " 4) 查看状态"
+1 -1
View File
@@ -1,4 +1,4 @@
import 'assets://js/lib/crypto-js.js';
import 'assets://lib/crypto-js.js';
const UA = 'Mozilla/5.0 (Linux; Android 9; V2196A Build/PQ3A.190705.08211809; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.114 Mobile Safari/537.36;webank/h5face;webank/1.0;netType:NETWORK_WIFI;appVersion:416;packageName:com.jp3.xg3';
const aggConfig = {
keys: 'd3dGiJc651gSQ8w1',