mirror of
https://github.com/tw93/Mole.git
synced 2026-02-11 15:18:59 +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)
|
||||
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
|
||||
;;
|
||||
clash-* | Clash-* | *-clash | *-Clash | clash.* | Clash.* | clash_* | clashverge* | ClashVerge*)
|
||||
|
||||
Reference in New Issue
Block a user