86 Star 1.1K Fork 150

小方 / Macast

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hook-pystray.py 368 Bytes
一键复制 编辑 原始数据 按行查看 历史
import os
import sys
backend_name = os.environ.get('PYSTRAY_BACKEND', None)
if backend_name:
modules = ['pystray._' + backend_name]
elif sys.platform == 'darwin':
modules = ['pystray._darwin']
elif sys.platform == 'win32':
modules = ['pystray._win32']
else:
modules = ['pystray._appindicator', 'pystray._gtk', 'pystray._xorg']
hiddenimports = modules
Python
1
https://gitee.com/xfangfang/Macast.git
git@gitee.com:xfangfang/Macast.git
xfangfang
Macast
Macast
main

搜索帮助