How spoofdpiapp/spoofdpi-app works
SpoofDPI App is a macOS menu-bar utility that launches the bundled SpoofDPI process to restore access to services such as YouTube. Users control protection and its parameters through the main window or menu-bar switch; the protection service monitors and restarts the process. The app also provides automatic launch, window/menu-bar behavior, and update checks. Source excerpts show the app startup and protection flows; several other service relationships are known only from the SOURCE INDEX, so uncertain wiring is omitted.
Main entry points: App.swift App lifecycle · MenuBarIconService.swift Menu-bar controls · ProtectionService.swift Protection manager · MainScene.ContentView.swift Main window UI
Components 18
App experience
- App lifecycle
SpoofDPI App/App.swift - Main scene
SpoofDPI App/Scenes/MainScene.swift - Main window UI
SpoofDPI App/Scenes/MainScene.ContentView.swift - Menu-bar controls
SpoofDPI App/Framework/Services/MenuBarIconService.swift
Protection runtime
- Protection manager
SpoofDPI App/Framework/Services/ProtectionService.swift - SpoofDPI process
SpoofDPI App/Other/Binaries
App services
- Persistent settings
SpoofDPI App/Framework/Services/SettingsService.swift - Automatic launch
SpoofDPI App/Framework/Services/AutoLaunchService.swift - Update checker
SpoofDPI App/Framework/Services/UpdateService.swift - Window behavior
SpoofDPI App/Framework/Services/WindowService.swift
Shared framework
- Framework extensions
SpoofDPI App/Framework/Extensions - Configurable support
SpoofDPI App/Framework/Configurable.swift - Process utilities
SpoofDPI App/Framework/Utils.swift - Localized strings
SpoofDPI App/Other/LocalizedString.swift - System symbols
SpoofDPI App/Other/SystemSymbol.swift
Other components
- Mac user
- macOS process control
- Build number feed
Connections 28
- Mac user → Main window UI: configures
README.md - Mac user → Menu-bar controls: controls
SpoofDPI App/Framework/Services/MenuBarIconService.swift - App lifecycle → Main scene: creates
SpoofDPI App/App.swift - App lifecycle → Automatic launch: initializes
SpoofDPI App/App.swift - App lifecycle → Menu-bar controls: initializes
SpoofDPI App/App.swift - App lifecycle → Protection manager: initializes
SpoofDPI App/App.swift - App lifecycle → Update checker: initializes
SpoofDPI App/App.swift - App lifecycle → Window behavior: initializes
SpoofDPI App/App.swift - App lifecycle → Protection manager: stops on exit
SpoofDPI App/App.swift - Main scene → Main window UI: displays
SpoofDPI App/Scenes/MainScene.swift - Main window UI → Protection manager: reads status
SpoofDPI App/Scenes/MainScene.ContentView.swift - Main window UI → Persistent settings: reads and updates
SpoofDPI App/Scenes/MainScene.ContentView.swift - Menu-bar controls → Persistent settings: observes and updates
SpoofDPI App/Framework/Services/MenuBarIconService.swift - Menu-bar controls → Protection manager: observes status
SpoofDPI App/Framework/Services/MenuBarIconService.swift - Menu-bar controls → Window behavior: opens window
SpoofDPI App/Framework/Services/MenuBarIconService.swift - Protection manager → Persistent settings: observes parameters
SpoofDPI App/Framework/Services/ProtectionService.swift - Protection manager → Process utilities: runs process commands
SpoofDPI App/Framework/Services/ProtectionService.swift - Protection manager → SpoofDPI process: launches or stops
SpoofDPI App/Framework/Services/ProtectionService.swift - Process utilities → macOS process control: executes commands
- Update checker → Build number feed: fetches build number
SpoofDPI App/Framework/Services/UpdateService.swift - Update checker → Persistent settings: stores latest build
SpoofDPI App/Framework/Services/UpdateService.swift - Update checker → Window behavior: opens alert window
SpoofDPI App/Framework/Services/UpdateService.swift - Automatic launch → Persistent settings: uses settings
SpoofDPI App/Framework/Services/AutoLaunchService.swift - Automatic launch → Window behavior: uses window
SpoofDPI App/Framework/Services/AutoLaunchService.swift - Framework extensions → Configurable support: supports
SpoofDPI App/Framework/Extensions/NSObject.swift - Main window UI → Localized strings: uses labels
SpoofDPI App/Scenes/MainScene.ContentView.swift - Menu-bar controls → Localized strings: uses labels
SpoofDPI App/Framework/Services/MenuBarIconService.swift - Menu-bar controls → System symbols: uses icons
SpoofDPI App/Framework/Services/MenuBarIconService.swift