uengine-runner/get-uengine-information.sh

11 lines
299 B
Bash
Executable File

#!/bin/bash
file="/data/uengine/data/data/data/com.tencent.mm/shared_prefs/"
inotifywait -mq -e modify $file | while read event
do
if [[ "$event" == *notify_sync_pref.xml ]];then
notify-send -i '/home/tensor/Documents/notify/mm.jpg' ‘主银’ ‘你有微信消息哦~~’
fi
done