Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开机自启 #7

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Conversation

Marcus-P-114514
Copy link
Contributor

DyberPet · 开机自启

简介

「开机自启」功能会在用户登录至桌面时运行DyberPet,目前仅支持Win32。

已知问题&解决方案

无。

未完成的功能

支持macOS

Material Design3风格的Snackbar,参考了Material Design Guideline。
import包DyberPet.document_path
Windows下检查注册表中DyberPet的路径,如果路径有变化则代表程序已经被移动或者重命名,返回0代表程序已经被移动或者重命名(也有可能是之前没有设置过开机自启),反之则返回1
updateSettings().settingsUpd(startAtLogin="Off", applicationPath="", shortcutPath="")中,applicationPath与shortcutPath已不再使用
Windows下检查注册表中DyberPet的路径,如果路径有变化则代表程序已经被移动或者重命名,返回0代表从未注册开机启动,返回1代表程序未被移动或者重命名,返回2则代表程序已经被移动或者重命名
不再读取settings.json中的start_at_login,将检测HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run下DyberPet的值
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant