首次添加 API 接口

This commit is contained in:
2022-05-15 20:14:02 +08:00
parent 677ff4c16b
commit c9a3db2f37
4 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/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