Repository navigation
Expand file tree
/
Copy pathKinjector.json
More file actions
41 lines (41 loc) · 1.73 KB
/
Copy pathKinjector.json
File metadata and controls
41 lines (41 loc) · 1.73 KB
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": "0.0.0.1",
"description": "A GUI .dll injector written in go",
"homepage": "https://github.com/kociumba/kinjector",
"license": "MIT",
"depends": [
"main/go",
"main/gcc",
"main/task"
],
"architecture": "x64",
"extract_dir": "Kinjector-main",
"pre_install": [
"Write-Host `n",
"Write-Host '============================ ⚠️ WARNING ⚠️ ============================' -ForegroundColor Red ",
"Write-Host 'This script will download and compile Kinjector with its dependencies.'",
"Write-Host 'Compilation can take up to 10min first time depending on your hardware.'",
"Write-Host '=======================================================================' -ForegroundColor Red",
"Write-Host `n",
"$response = Read-Host 'Proceed with the download and compilation? (yes[y]/no[n])';",
"if ($response -eq 'no' -or $response -eq 'n') { Write-Host 'Cancelling the installation...' -ForegroundColor Red; exit };",
"if ($response -ne 'yes' -and $response -ne 'y') { Write-Host 'Invalid input.' -ForegroundColor Yellow; exit };"
],
"installer": {
"script": [
"task --taskfile $dir\\taskfile.dist.yaml build -- $dir"
]
},
"post_install": [
"Write-Host 'Installation complete!' -ForegroundColor Green",
"$pattern = '*Kinjector*'",
"try {",
" Get-ChildItem -Path $cachedir -Filter $pattern -File -Recurse | Remove-Item -Force",
"} catch {",
" Write-Error 'Error encountered while trying to delete: $_'",
"}"
],
"bin": "Kinjector.exe",
"hash": "",
"url": "https://github.com/kociumba/kinjector/archive/refs/heads/main.zip"
}