|
|
@ -16,7 +16,29 @@ uninstallkey = [] |
|
|
|
|
|
|
|
|
|
|
|
crapwares = [ |
|
|
|
crapwares = [ |
|
|
|
're:ask toolbar', |
|
|
|
're:ask toolbar', |
|
|
|
('key:{7DB9F1E5-9ACB-410D-A7DC-7A3D023CE045}','welcome.exe','Dell Getting Started Guide') |
|
|
|
('key:{7DB9F1E5-9ACB-410D-A7DC-7A3D023CE045}','welcome.exe','Dell Getting Started Guide'), |
|
|
|
|
|
|
|
'metro:Microsoft.XboxGameCallableUI', |
|
|
|
|
|
|
|
'metro:Microsoft.MSPaint', |
|
|
|
|
|
|
|
'metro:Microsoft.SkypeApp', |
|
|
|
|
|
|
|
'metro:Microsoft.XboxGameOverlay', |
|
|
|
|
|
|
|
'metro:Microsoft.Whiteboard', |
|
|
|
|
|
|
|
'metro:Microsoft.Microsoft3DViewer', |
|
|
|
|
|
|
|
'metro:Microsoft.XboxIdentityProvider', |
|
|
|
|
|
|
|
'metro:Microsoft.Xbox.TCUI', |
|
|
|
|
|
|
|
'metro:Microsoft.MicrosoftStickyNotes', |
|
|
|
|
|
|
|
'metro:Microsoft.ZuneMusic', |
|
|
|
|
|
|
|
'metro:Microsoft.ZuneVideo', |
|
|
|
|
|
|
|
'metro:Microsoft.WindowsMaps', |
|
|
|
|
|
|
|
'metro:Microsoft.WindowsMaps', |
|
|
|
|
|
|
|
'metro:Microsoft.BingWeather', |
|
|
|
|
|
|
|
'metro:Microsoft.MicrosoftSolitaireCollection', |
|
|
|
|
|
|
|
'metro:Microsoft.OneConnect', |
|
|
|
|
|
|
|
'metro:Microsoft.WindowsFeedbackHub', |
|
|
|
|
|
|
|
'metro:Microsoft.XboxApp', |
|
|
|
|
|
|
|
'metro:Microsoft.XboxSpeechToTextOverlay', |
|
|
|
|
|
|
|
'metro:Microsoft.Windows.ParentalControls', |
|
|
|
|
|
|
|
'metro:Microsoft.Advertising.Xaml', |
|
|
|
|
|
|
|
'metro:Microsoft.Windows.Cortana' |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
def find_soft_re(softs,pattern): |
|
|
|
def find_soft_re(softs,pattern): |
|
|
@ -50,7 +72,10 @@ def install(): |
|
|
|
|
|
|
|
|
|
|
|
run = None |
|
|
|
run = None |
|
|
|
|
|
|
|
|
|
|
|
if isinstance(crapware,re._pattern_type): |
|
|
|
if isinstance(crapware,(unicode,str)) and crapware.startswith('metro:') and windows_version() > Version('10'): |
|
|
|
|
|
|
|
print('Processing removal of %s '% title) |
|
|
|
|
|
|
|
remove_metroapp(crapware[6:]) |
|
|
|
|
|
|
|
elif isinstance(crapware,re._pattern_type): |
|
|
|
uninstall_entries = find_soft_re(all_softs,crapware) |
|
|
|
uninstall_entries = find_soft_re(all_softs,crapware) |
|
|
|
elif isinstance(crapware,(unicode,str)) and crapware.startswith('re:'): |
|
|
|
elif isinstance(crapware,(unicode,str)) and crapware.startswith('re:'): |
|
|
|
uninstall_entries = find_soft_re(all_softs,re.compile(crapware[3:],re.IGNORECASE)) |
|
|
|
uninstall_entries = find_soft_re(all_softs,re.compile(crapware[3:],re.IGNORECASE)) |
|
|
|