Fix a typo in uninstall
This commit is contained in:
parent
b582899829
commit
84c7503d2d
|
@ -1,5 +1,5 @@
|
|||
package : fws-system-settings
|
||||
version : 6
|
||||
version : 21
|
||||
architecture : all
|
||||
section : base
|
||||
priority : optional
|
||||
|
|
4
setup.py
4
setup.py
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue