imbushuo/EnergyStar

RIIR

be5invis opened this issue · 3 comments

Remove .net dependency and improve performance (and its own battery consumption).

Alternatively, could consider .NET 7's NativeAOT.

Alternatively, could consider .NET 7's NativeAOT.

Built one with .NET 7's NativeAOT, the size is only 1.66mb and only taking 1.5mb memory at runtime.
EnergyStar.zip

Personally I suggest using C++ to rewrite since there's no need to worry about API declaration, and it's easier to make it run as a service.
Someone may say that I can create a new project. Yes, but the author has code signing while I don't have. Another option is to submit it to PowerToys, so that is signed by MS.