
Description
- package : tis-disable-hibernation
- version : 1.0-3
- architecture : all
- categories :
- maintainer : Simon TIS
- description : Disable hibernation
- locale :
- target_os :
- min_os_version :
- max_os_version :
- min_wapt_version :
- sources :
- installed_size :
- impacted_process :
- description_fr :
- description_pl :
- description_de :
- description_es :
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor :
- licence :
- signature_date : 2020-02-27T21:29:45.582961
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []
# command(s) to launch to remove the application(s)
uninstallstring = ['powercfg -h on']
def install():
# if you want to modify the keys depending on environment (win32/win64... params..)
print("Disable hibernation")
run_notfatal('powercfg -h off')
[["WAPT/icon.png","b0d557e9c601277a1d78ceabc4d37a291b359b77b55efb91ac1e5d8cd994b130"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","c5a1697bf6e134989a9870764995725626a8f5055b640e541b569d1a927363fc"],["poweroff.exe","62c1c52c54359730f8787c1e241097fd0714f2abde47adecaca32c42be366c33"],["setup.py","dcb6f2c05f5ccb6f623a7fba095fd03bbe8f8394bc1efe78649ba737abde6be9"],["WAPT/control","70197540091d7f35d406717427f41d6be3ba9612cea571bd1b5c620ce2ce352b"]]