kindle manager

This commit is contained in:
gavin
2020-07-05 20:31:49 +08:00
parent 247a5cf2f3
commit fc241ba0d7
34 changed files with 12 additions and 81995 deletions

View File

@@ -38,6 +38,16 @@ A: pathex=['/Users/mark/penv/kman',]
...
**这里有个问题打开app是会运行所有('kman.py', 'kmanapp.py', 'kmanapp_rc.py', 'mainwindow.py', 'mtable.py', 'parseweb.py',)py文件里的main所以在打包时要把不是入口py程序的main删除或注释掉**
1. 移植到其他机器上运行还是显示: (20200702)
LSOpenURLsWithRole() failed with error -10810 for the file /Users/mark/penv/tkman/Release/kmanapp.app.
A: MAC下:
cd /path/to/your/ApplicationName.app
xattr -l Contents/MacOS/*
发现有一堆"com.apple.quarantine",说明有问题,运行:
**xattr -dr com.apple.quarantine '/我的安装路径/kmanapp.app'**
可以正常打开,原因不清,[参考链接](https://apple.stackexchange.com/questions/181026/lsopenurlswithrole-failed-with-error-10810-cant-open-install-os-x-yosemite)
# reference
1. [ModuleNotFoundError: No module named 'pkg_resources.py2_warn' ](https://blog.csdn.net/qq_40608730/article/details/104864943)
https://www.cnblogs.com/yemeng/p/6253097.html