mirror of
https://github.com/tw93/Mole.git
synced 2026-02-15 23:11:11 +00:00
refactor: Extract com.clash.app pattern to avoid ShellCheck redundancy warning
This commit is contained in:
@@ -687,7 +687,11 @@ should_protect_data() {
|
|||||||
com.sublimetext.* | com.sublimehq.* | Cursor | Claude | ChatGPT | Ollama)
|
com.sublimetext.* | com.sublimehq.* | Cursor | Claude | ChatGPT | Ollama)
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
com.nssurge.* | com.v2ray.* | com.clash.* | com.clash.app | ClashX* | Surge* | Shadowrocket* | Quantumult*)
|
# Specific match to avoid ShellCheck redundancy warning with com.clash.*
|
||||||
|
com.clash.app)
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
com.nssurge.* | com.v2ray.* | com.clash.* | ClashX* | Surge* | Shadowrocket* | Quantumult*)
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
clash-* | Clash-* | *-clash | *-Clash | clash.* | Clash.* | clash_* | clashverge* | ClashVerge*)
|
clash-* | Clash-* | *-clash | *-Clash | clash.* | Clash.* | clash_* | clashverge* | ClashVerge*)
|
||||||
|
|||||||
Reference in New Issue
Block a user