Fix a typo in uninstall

master
Daniel Berteaud 5 년 전
부모 b582899829
커밋 84c7503d2d
  1. 2
      WAPT/control
  2. 4
      setup.py

@ -1,5 +1,5 @@
package : fws-system-settings
version : 6
version : 21
architecture : all
section : base
priority : optional

@ -50,12 +50,14 @@ def install():
print('Install custom logo')
filecopyto('waptexit-logo.png',makepath(programfiles32,'wapt','templates'))
def uninstall():
print('Re enabling services')
for service in disabled_services:
print(' Enabling %s' % service)
run(r'sc config %s start= auto' % service, accept_returncodes=[0,1060])
prin('Removing DeliveryOptimization settings')
print('Removing DeliveryOptimization settings')
with reg_openkey_noredir(HKEY_LOCAL_MACHINE, r'SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization', sam=KEY_WRITE) as reg_key:
reg_delvalue(reg_key, 'DODownloadMode')

불러오는 중...
취소
저장