GithubHelp home page GithubHelp logo

fastpower's Introduction

fastpower,一个快速执行windows电源操作的程序

参考资料

  1. https://gitee.com/Gauterman/quick-shutdown-q

更新日志

  • build 3 bugfixed 1更新:修复build3已发现bug

  • 04/11/23补充,build3存在bug,只能关机,马上发布bug fixed版本

  • stable build 3: 基本功能不变,新增 -t ( 或 -time ) 功能,可以延时关机。
    程序运行方法:   fastpower [option] [mode]
    [option]: [ -t | -time ] t (t毫秒后执行操作)
    [mode] : [ sleep | sl ](睡眠),[ hibernate | hi ](休眠),[ shutdown | sh ](关机),[ reboot | re ](重启),[ shutdownoff | so ],(关机断电)

  • stable build 2: API更换为 NtInitiatePowerAction ,可实现快速关机,重启,睡眠等功能。程序可以实现睡眠,休眠,关机,重启,关机断电共5种功能。
    程序运行方法:   fastpower [mode]
    [mode] = [ sleep | sl ](睡眠),[ hibernate | hi ](休眠),[ shutdown | sh ](关机),[ reboot | re ](重启),[ shutdownoff | so ],(关机断电)

  • dev build 1: 调用NtAPI —— NtShutdownSystem 实现快速关机(直接黑屏)。由于代码出现不知名bug,所以仅支持关机。
    程序运行方法:直接运行fastpower.exe.

fastpower's People

Contributors

chenjz-pm avatar

Watchers

 avatar

Forkers

gene-2012

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.