See your battery percentage in the Windows 10 system tray.
Original project by kas.
- Download the latest release.
- Put
percentage.exe
in your startup folder (to get to your startup folder, pressWindows + R
, typeshell:startup
, and press enter).
This project was compiled with Visual Studio Professional 2015.
To compile using a Windows Docker image with this pre-installed, first install Docker Desktop and configure it to run Windows containers, then change to the root directory of the repository and run the following:
docker run -v "$(pwd)\:C:\Build\" nugardt/msbuild:15.5 msbuild C:\Build\percentage\percentage.sln /property:Configuration=Release
Alternatively, simply open the project in the provided devcontainer and run:
msbuild percentage/percentage.sln -p:Configuration=Release
The output binary is in percentage/percentage/bin/release
.
I created this project with a very basic understanding of developing C# desktop applications and contributions are extremely welcome!