Fix remove_shutdown_script
This commit is contained in:
parent
2fcfada0cd
commit
836acf9001
|
@ -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
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -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…
Reference in New Issue
Block a user