Fix remove_shutdown_script

master
Daniel Berteaud 6 years ago
parent 2fcfada0cd
commit 836acf9001
  1. 2
      WAPT/control
  2. 4
      setup.py

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

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

Loading…
Cancel
Save