Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
ef3199f0
"backend/vscode:/vscode.git/clone" did not exist on "112a2d0866c7746ca817ea8a27e186eab4da52c4"
Commit
ef3199f0
authored
Dec 18, 2025
by
shaw
Browse files
fix: 修复脚本的一些参数问题
parent
e440530a
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
ef3199f0
...
...
@@ -107,7 +107,7 @@ sudo journalctl -u sub2api -f
sudo
systemctl restart sub2api
# Uninstall
curl
-sSL
https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh |
sudo
bash
-s
uninstall
curl
-sSL
https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh |
sudo
bash
-s
--
uninstall
-y
```
---
...
...
README_CN.md
View file @
ef3199f0
...
...
@@ -107,7 +107,7 @@ sudo journalctl -u sub2api -f
sudo
systemctl restart sub2api
# 卸载
curl
-sSL
https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh |
sudo
bash
-s
uninstall
curl
-sSL
https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh |
sudo
bash
-s
--
uninstall
-y
```
---
...
...
deploy/install.sh
View file @
ef3199f0
...
...
@@ -683,7 +683,7 @@ uninstall() {
# If not interactive (piped), require -y flag or skip confirmation
if
!
is_interactive
;
then
if
[
"
${
FORCE_YES
:-}
"
!=
"true"
]
;
then
print_error
"Non-interactive mode detected. Use 'bash -s -- uninstall -y' to confirm."
print_error
"Non-interactive mode detected. Use '
curl ... |
bash -s -- uninstall -y' to confirm."
exit
1
fi
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment