forked from michael.heier/citadel-core
Fix karen
This commit is contained in:
parent
48c29993dd
commit
6c36bce3f3
|
@ -5,7 +5,9 @@
|
|||
import re
|
||||
|
||||
# Helper functions
|
||||
# Return a list of env vars in a string, supports both $NAM§ and ${NAME} format for the env var
|
||||
|
||||
|
||||
# Return a list of env vars in a string, supports both $NAME and ${NAME} format for the env var
|
||||
# This can potentially be used to get around permissions, so this check is critical for security
|
||||
# Please report any security vulnerabilities you find in this check to aaron.dewes@protonmail.com
|
||||
def getEnvVars(string: str):
|
||||
|
|
2
karen
2
karen
|
@ -67,7 +67,7 @@ fswatch -0 --event=PlatformSpecific $signal_dir | while read -d "" event; do
|
|||
|
||||
# If the signal starts wih app-, the trigger is "$trigger_dir/app"
|
||||
# and the args are the rest of the signal
|
||||
if [[ "$signal" =~ ^app- ]]; then
|
||||
if [[ "$signal" =~ ^app- ]] && [[ "$signal" != "app-update" ]]; then
|
||||
trigger="$trigger_dir/app"
|
||||
args="${signal#"app-"}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user