Files
wehub-resource-sync 79031da543
Spell checking / Report (Push) (push) Blocked by required conditions
Spell checking / Report (PR) (push) Blocked by required conditions
Spell checking / Check Spelling (push) Has been cancelled
Spell checking / Update PR (push) Has been cancelled
Publish Dev Docs Website / build (push) Failing after 1s
Publish Dev Docs Website / deploy (push) Has been skipped
chore: import upstream snapshot with attribution
2026-07-13 12:16:02 +08:00

3.0 KiB

Project Structure

Overview

PowerToys Run is divided across several projects to keep a logical separation between plugins and core functionality. The following sections provide a brief overview of each project.

Image of project dependency Fig 1. Project along with their dependencies in PowerToys Run ecosystem.

Project Description

PowerLauncher

This is the startup project for the PowerToys Run. It is a WPF desktop application and follows the Model-View-ViewModel (MVVM) design pattern. Plugins play the role of Model and provide data to ViewModel.

PowerLauncher.Telemetry

PowerLauncher.Telemetry is a .net core project that contains telemetry events generated by PowerLauncher. These events have been discussed in detail in Launcher Telemetry.

Wox.Core

Wox.Core is a .net core project that contains helper classes required by the PowerLauncher project. Two major functionalities encapsulated in this project are PluginManager and Query Builder. PluginManager provides an interface for managing C# plugins. Query Builder. decimate user-typed query string and creates a Query object. Query object contains the action keyword and cleaned query, which is then sent to all plugins.

Wox.Infrastructure

Wox.Infrastructure is a .net core project that contains helper classes required for image manipulation and storage by the PowerLauncher project and the plugins. ImageLoader.cs class is used to load icons for Win32 program. It also provides caching functionality to speed up image loading for frequently queried programs.

Wox.Plugin

Wox.Plugin contains interfaces that facilitate communication between PowerLauncher and plugins. These interfaces have been discussed in detail in Flow of data between ViewModels and Plugins(Model). It also contains a helper class for logging. Log.cs provides an abstraction for logging error, information, and output to text files. These files are stored at %userprofile%/appdata/local/microsoft/powertoys/powertoys run/Logs.