Fix remove_shutdown_script

This commit is contained in:
Daniel Berteaud 2018-12-08 09:46:16 +01:00
parent 2fcfada0cd
commit 836acf9001
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
package : fws-remove-fwsupdates
version : 1
version : 3
architecture : all
section : base
priority : optional

View File

@ -5,8 +5,8 @@ uninstallkey = []
def install():
print('Shutdown scripts')
remove_shutdown_script(r'fwsupdates.vbs')
remove_shutdown_script(r'wpkg.bat')
remove_shutdown_script(r'fwsupdates.vbs','')
remove_shutdown_script(r'wpkg.bat','')
print('Removing start menu entries')
if isfile(makepath(os.getenv('ALLUSERSPROFILE'),'Microsoft','Windows','Start Menu','Programs','Startup','chkupd_bgmon.vbs')):