How aeyundian/aydesktop works
AyDesktop is a WPF Windows desktop overlay for organizing and launching desktop items. The main workflow is startup and optional account restoration/login, opening the overlay with the floating control, loading and monitoring configured folders, then interacting with icons and folders; configuration and layout persist locally. The graph also preserves account security, Shell integration, and settings capabilities documented in the README. Some view and service implementations were not excerpted, so their documented capabilities are included without speculative call links.
Main entry points: FolderWindow.xaml.cs Folder windows and groups · App.xaml.cs Startup coordinator · DesktopWindow.xaml.cs Desktop overlay · SettingsWindow.xaml.cs Settings window
Components 24
Application runtime
- Startup coordinator
AyDesktop/App.xaml.cs - Floating control
AyDesktop/Views/FloatWindow.xaml.cs
Desktop and folders
- Desktop overlay
AyDesktop/Views/DesktopWindow.xaml.cs - Desktop state and layout
AyDesktop/ViewModels/DesktopViewModel.cs - Desktop item model
AyDesktop/Models/DesktopItem.cs - Folder monitor
AyDesktop/Services/DesktopMonitorService.cs - Folder windows and groups
AyDesktop/Views/FolderWindow.xaml.cs - Item host contract
AyDesktop/Views/IItemHost.cs - Item templates
AyDesktop/Views/DesktopItemTemplates.xaml.cs
Account and security
- Login window
AyDesktop/Views/LoginWindow.xaml.cs - OAuth session manager
AyDesktop/Services/AuthService.cs - OAuth client
AyDesktop/Services/AyOAuthClientSDK.cs - Connectivity probe
AyDesktop/Services/NetworkProbe.cs - Encrypted session store
AyDesktop/Services/MachineKeyStore.cs - Hardware fingerprint
AyDesktop/Services/HardwareId.cs
Configuration and system
- Config and layout persistence
AyDesktop/Services/ConfigService.cs - Application preferences
AyDesktop/Models/AppConfig.cs - Settings window
AyDesktop/Views/SettingsWindow.xaml.cs - Native Shell menus
AyDesktop/Services/ShellContextMenu.cs - Shell icon extraction
AyDesktop/Services/IconExtractor.cs - Startup registration
AyDesktop/Services/StartupHelper.cs - Startup commands
AyDesktop/Services/StartupCommand.cs
Other components
- User
- Windows Shell
Connections 33
- User → Startup coordinator: starts
README.md - Startup coordinator → OAuth session manager: restores session
AyDesktop/App.xaml.cs - Startup coordinator → Login window: opens login
AyDesktop/App.xaml.cs - Startup coordinator → Floating control: shows control
AyDesktop/App.xaml.cs - User → Floating control: toggles overlay
README.md - Floating control → Desktop overlay: opens overlay
README.md - Desktop overlay → Desktop state and layout: loads and monitors
AyDesktop/Views/DesktopWindow.xaml.cs - Desktop state and layout → Config and layout persistence: loads and saves
AyDesktop/ViewModels/DesktopViewModel.cs - Desktop state and layout → Folder monitor: starts monitoring
AyDesktop/ViewModels/DesktopViewModel.cs - Desktop state and layout → Desktop item model: manages items
AyDesktop/ViewModels/DesktopViewModel.cs - Desktop overlay → Desktop item model: moves and groups
AyDesktop/Views/DesktopWindow.xaml.cs - Folder windows and groups → Desktop state and layout: uses desktop state
AyDesktop/Views/FolderWindow.xaml.cs - Folder windows and groups → Desktop item model: displays children
AyDesktop/Views/FolderWindow.xaml.cs - Folder windows and groups → Item host contract: implements host
AyDesktop/Views/FolderWindow.xaml.cs - Item templates → Item host contract: uses host contract
AyDesktop/Views/DesktopItemTemplates.xaml.cs - Login window → OAuth session manager: authenticates
AyDesktop/Views/LoginWindow.xaml.cs - Login window → Connectivity probe: checks connectivity
AyDesktop/Views/LoginWindow.xaml.cs - OAuth session manager → OAuth client: exchanges tokens
AyDesktop/Services/AuthService.cs - OAuth session manager → Encrypted session store: stores session
AyDesktop/Services/AuthService.cs - Encrypted session store → Hardware fingerprint: derives key from
AyDesktop/Services/MachineKeyStore.cs - Config and layout persistence → Application preferences: serializes
AyDesktop/Services/ConfigService.cs - Settings window → Config and layout persistence: updates settings
AyDesktop/Views/SettingsWindow.xaml.cs - Settings window → Application preferences: edits preferences
AyDesktop/Views/SettingsWindow.xaml.cs - Desktop overlay → Native Shell menus: opens context menu
AyDesktop/Views/DesktopWindow.xaml.cs - Folder windows and groups → Native Shell menus: opens context menu
AyDesktop/Views/FolderWindow.xaml.cs - Desktop overlay → Shell icon extraction: requests icons
AyDesktop/Views/DesktopWindow.xaml.cs - Folder windows and groups → Shell icon extraction: requests icons
AyDesktop/Views/FolderWindow.xaml.cs - Native Shell menus → Windows Shell: invokes native menus
README.md - Shell icon extraction → Windows Shell: extracts icons
AyDesktop/Services/IconExtractor.cs - Settings window → Startup registration: configures startup
AyDesktop/Views/SettingsWindow.xaml.cs - Settings window → Startup commands: encodes actions
AyDesktop/Views/SettingsWindow.xaml.cs - Startup coordinator → Startup commands: handles commands
AyDesktop/App.xaml.cs - User → Settings window: changes preferences
README.md