首次添加 API 接口
This commit is contained in:
parent
677ff4c16b
commit
c9a3db2f37
Binary file not shown.
After Width: | Height: | Size: 312 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 15 KiB |
|
@ -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
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
#!/usr/bin/env python3
|
||||
from modulefinder import packagePathMap
|
||||
import sys
|
||||
import ttkthemes
|
||||
import tkinter as tk
|
||||
import tkinter.ttk as ttk
|
||||
|
||||
def main():
|
||||
window = tk.Tk()
|
||||
ttk.Label(window, text="程序包名:").grid(row=0, column=0)
|
||||
packageName = ttk.Combobox(window)
|
||||
packageName.grid(row=0, column=1)
|
||||
settingFrame = ttk.Frame(window)
|
||||
readButton = ttk.Button(window, text="确定").grid(row=0, column=2)
|
||||
settingFrame.grid(row=1, column=0, columnspan=3)
|
||||
hScreenSize = ttk.Labelframe(settingFrame, text="竖屏默认分辨率")
|
||||
vScreenSize = ttk.Labelframe(settingFrame, text="横屏默认分辨率")
|
||||
hScreenSizeWidthValue = ttk.Entry(hScreenSize)
|
||||
hScreenSizeHeightValue = ttk.Entry(hScreenSize)
|
||||
hScreenSizeWidthValue.grid(row=0, column=0)
|
||||
ttk.Label(hScreenSize, text="×").grid(row=0, column=1)
|
||||
hScreenSizeHeightValue.grid(row=0, column=2)
|
||||
vScreenSizeWidthValue = ttk.Entry(vScreenSize)
|
||||
vScreenSizeHeightValue = ttk.Entry(vScreenSize)
|
||||
vScreenSizeWidthValue.grid(row=0, column=0)
|
||||
ttk.Label(vScreenSize, text="×").grid(row=0, column=1)
|
||||
vScreenSizeHeightValue.grid(row=0, column=2)
|
||||
hScreenSize.grid(row=0, column=0)
|
||||
vScreenSize.grid(row=1, column=0)
|
||||
window.mainloop()
|
||||
return 0
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
Loading…
Reference in New Issue