-
Notifications
You must be signed in to change notification settings - Fork 6
/
NotMyFault.yml
41 lines (41 loc) · 1.4 KB
/
NotMyFault.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "4.21"
description: NotMyFault. Crash, hang, and cause kernel memory leaks on Windows system.
homepage: https://docs.microsoft.com/en-us/sysinternals/downloads/notmyfault
license:
identifier: Freeware
url: https://docs.microsoft.com/en-us/sysinternals/license-terms
url: https://download.sysinternals.com/files/NotMyFault.zip
hash: e26db5a12a6e1f83085cc40446a0b8fb6e322b989c46f4cb649a955682c15de4
pre_install: |
$sysint = 'HKCU:\SOFTWARE\Sysinternals'
$fin = "$sysint\NotMyFault"
New-Item $sysint, $fin -ErrorAction 'SilentlyContinue' | Out-Null
Set-ItemProperty -Path $fin -Name 'EulaAccepted' -Value 1 -Type 'DWord' -Force | Out-Null
pre_uninstall: |
if ($purge) {
$sysInt = 'HKCU:\SOFTWARE\Sysinternals'
Remove-Item "$sysInt\NotMyFault" -ErrorAction 'SilentlyContinue' -Force -Recurse
if ((Get-ChildItem $sysInt).Count -eq 0) { Remove-Item $sysInt -ErrorAction 'SilentlyContinue' -Force -Recurse }
}
architecture:
64bit:
bin:
- notmyfaultc64.exe
- - notmyfaultc64.exe
- notmyfault64
- - notmyfaultc64.exe
- notmyfault
shortcuts:
- - notmyfault64.exe
- SysInternals\NotMyFault
32bit:
bin:
- notmyfaultc.exe
- - notmyfaultc.exe
- notmyfault
shortcuts:
- - notmyfault.exe
- SysInternals\NotMyFault
checkver: NotMyFault\s+v([\d.]+)</h1
autoupdate:
url: https://download.sysinternals.com/files/NotMyFault.zip