mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 14:35:13 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# mihomo/clash search for geoip.dat in $HOME/.config/mihomo
|
||||
export HOME="$JP_TARGET_WD"
|
||||
# xray search for geoip.dat in $PWD
|
||||
cd "$JP_TARGET_WD"
|
||||
|
||||
# $HOME is unset by procd and $PWD is reset to / by procd,
|
||||
# that's why we need this mini "jail"
|
||||
exec "$@"
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
main() {
|
||||
case "$1" in
|
||||
list)
|
||||
echo '{"statsquery":{},"statssys":{},"restartlogger":{}}'
|
||||
;;
|
||||
call)
|
||||
shift
|
||||
xray api $@
|
||||
esac
|
||||
}
|
||||
|
||||
main "$@"
|
||||
Reference in new issue
Block a user