generated from ScoopInstaller/BucketTemplate
/
ida-plugin-IDA-Pro-SigMaker.json
49 lines (49 loc) · 2.18 KB
/
ida-plugin-IDA-Pro-SigMaker.json
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
42
43
44
45
46
47
48
49
{
"version": "1.0.2",
"description": "Signature maker plugin for IDA 8.x",
"homepage": "https://github.com/A200K/IDA-Pro-SigMaker",
"license": "MIT",
"url": [
"https://github.com/A200K/IDA-Pro-SigMaker/releases/download/v1.0.2/SigMaker64.dll",
"https://github.com/A200K/IDA-Pro-SigMaker/releases/download/v1.0.2/SigMaker.dll"
],
"hash": [
"0b44921a2fc35f13a2987fcf8830685d58f9d18bca760a9706ec4efe8b0d5d2f",
"be6698172bb869e55dc10fda88cb405ac64fc6c07f3e5f00d451a93f5a0980e3"
],
"pre_install": [
"# Check if $env:IDA_PRO_DIR\\ida64.exe exists",
"if (-not (Test-Path \"$env:IDA_PRO_DIR\\ida64.exe\")) {",
" Write-Host \"[ERROR] IDA Pro not found at `$env:IDA_PRO_DIR, run following to set it: \" -ForegroundColor Red",
" Write-Host \"`$env:IDA_PRO_DIR = ''`n[Environment]::SetEnvironmentVariable('IDA_PRO_DIR', `$env:IDA_PRO_DIR, 'User')\"",
" exit 1",
"}"
],
"pre_uninstall": [
"# Check if $env:IDA_PRO_DIR\\ida64.exe exists",
"if (-not (Test-Path \"$env:IDA_PRO_DIR\\ida64.exe\")) {",
" Write-Host \"[ERROR] IDA Pro not found at `$env:IDA_PRO_DIR, run following to set it: \" -ForegroundColor Red",
" Write-Host \"`$env:IDA_PRO_DIR = ''`n[Environment]::SetEnvironmentVariable('IDA_PRO_DIR', `$env:IDA_PRO_DIR, 'User')\"",
" exit 1",
"}"
],
"installer": {
"script": [
"Copy-Item -Path \"$dir\\SigMaker64.dll\" -Destination \"$env:IDA_PRO_DIR\\plugins\\SigMaker64.dll\" -Force",
"Copy-Item -Path \"$dir\\SigMaker.dll\" -Destination \"$env:IDA_PRO_DIR\\plugins\\SigMaker.dll\" -Force"
]
},
"uninstaller": {
"script": [
"Remove-Item -Path \"$env:IDA_PRO_DIR\\plugins\\SigMaker64.dll\" -Force",
"Remove-Item -Path \"$env:IDA_PRO_DIR\\plugins\\SigMaker.dll\" -Force"
]
},
"checkver": "github",
"autoupdate": {
"url": [
"https://github.com/A200K/IDA-Pro-SigMaker/releases/download/v$version/SigMaker64.dll",
"https://github.com/A200K/IDA-Pro-SigMaker/releases/download/v$version/SigMaker.dll"
]
}
}