添加 AI 设置和密钥加密存储

This commit is contained in:
2026-05-29 08:41:07 +08:00
parent 5ece0ca30d
commit a4224a19b6
9 changed files with 393 additions and 6 deletions
+6
View File
@@ -23,9 +23,12 @@ qt_add_executable(QtDesktopPet
src/character/FrameAnimator.h
src/character/FrameAnimator.cpp
src/config/AIConfig.h
src/config/AIConfig.cpp
src/config/AppConfig.h
src/config/ConfigManager.h
src/config/ConfigManager.cpp
src/config/SecretStore.h
src/config/SecretStore.cpp
src/state/PetStateMachine.h
src/state/PetStateMachine.cpp
src/tray/TrayController.h
@@ -34,6 +37,8 @@ qt_add_executable(QtDesktopPet
src/ui/ChatBubble.cpp
src/ui/PetView.h
src/ui/PetView.cpp
src/ui/SettingsDialog.h
src/ui/SettingsDialog.cpp
src/ui/PetWindow.h
src/ui/PetWindow.cpp
src/util/Logger.h
@@ -52,4 +57,5 @@ target_link_libraries(QtDesktopPet
if (WIN32)
target_compile_definitions(QtDesktopPet PRIVATE WIN32_LEAN_AND_MEAN NOMINMAX)
target_link_libraries(QtDesktopPet PRIVATE Crypt32)
endif()