https://github.com/stefnotch/steftoys
Failed PowerToys plugins experiment
https://github.com/stefnotch/steftoys
Last synced: about 1 month ago
JSON representation
Failed PowerToys plugins experiment
- Host: GitHub
- URL: https://github.com/stefnotch/steftoys
- Owner: stefnotch
- License: mit
- Created: 2022-07-10T06:55:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-16T09:59:30.000Z (almost 4 years ago)
- Last Synced: 2025-01-11T07:50:15.729Z (over 1 year ago)
- Language: C#
- Homepage:
- Size: 115 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StefToys - Powertoys Plugins
# Update
This project is dead, at least until PowerToys Run becomes usable for my purposes. As of right now, it basically doesn't support anything that neatly fits into its rather simple scheme.
I'm using the Flow launcher now.
## How to make your own plugins
1. Install PowerToys
2. Go to `C:\Program Files\PowerToys\modules\launcher` and you'll find a bunch of interesting .dlls there.
- `PowerToys.Common.UI`
- `PowerToys.ManagedCommon`
- `Wox.Infrastructure`
- `Wox.Plugin`
3. Copy them to a `libs` folder and add a reference to them. Sadly they aren't on Nuget, so we'll have to make do with this cave-people approach. With Visual Studio, you do this by adding a "Project Reference" and clicking on "Browse".
4. Check out plugins such as
- https://github.com/microsoft/PowerToys/tree/main/src/modules/launcher/Plugins
- https://github.com/skttl/ptrun-guid
- https://github.com/hlaueriksson/GEmojiSharp/tree/master/src/GEmojiSharp.PowerToysRun
5. Build the plugin
6. Copy it to a folder like "C:\Program Files\PowerToys\modules\launcher\Plugins\NAME_GOES_HERE"
7. Automate the copy-ing with `xcopy /E /Y "$(TargetDir)" "C:\Program Files\PowerToys\modules\launcher\Plugins\NAME_GOES_HERE"`
- Note that using `$(TargetDir)` means that we don't have to worry about accidentally copying the wrong build, like copying the debug build when we actually want to try out the release build.
8. If it fails, that usually means that the Windows folder permissions are wrong. In that case, just create the correct folder and let users modify it.
## Documentation
https://github.com/microsoft/PowerToys/tree/main/doc/devdocs/modules/launcher