yuka-friends / Windrecorder

Windrecorder is a memory search app by records everything on your screen in small size, to let you rewind what you have seen, query through OCR text or image description, and get activity statistics.
GNU General Public License v2.0
2.7k stars 110 forks source link

开机后自动启动应用问题 | After checked "run on system startup" settings in webui, may cause webui exit abnormally. #162

Open zhentouyu opened 2 months ago

zhentouyu commented 2 months ago

选中开机后自动启动应用后,保存并应用所有更改时卡死。 问题似乎出在windrecorder\utils.py中的713行make_shortcut(bat_path, folder=startup_folder) 可以手动把快捷方式添加进启动目录。单独把change_startup_shortcut函数拉出来运行也能正常运行

Antonoko commented 2 months ago

感谢反馈,我尝试了多应用几次后必现 streamlit 直接退出(好迷惑,感觉可能是 streamlit 的问题…