/
obs-ndi.json
60 lines (60 loc) 路 2.73 KB
/
obs-ndi.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
50
51
52
53
54
55
56
57
58
59
60
{
"architecture": {
"64bit": {
"hash": "a73f34baea9b3739fa501b7311cd00cd24ad243755e6081c24e7996141b671ea",
"url": "https://github.com/obs-ndi/obs-ndi/releases/download/4.13.1/obs-ndi-4.13.1-windows-x64-Installer.exe"
}
},
"autoupdate": {
"architecture": {
"64bit": {
"hash": {
"regex": "$basename: ([0-9a-f]{64})",
"url": "https://github.com/obs-ndi/obs-ndi/releases/tag/$version"
},
"url": "https://github.com/obs-ndi/obs-ndi/releases/download/$version/obs-ndi-$version-windows-x64-Installer.exe"
}
}
},
"checkver": "github",
"description": "NewTek NDI integration for OBS Studio.",
"homepage": "https://github.com/obs-ndi/obs-ndi",
"innosetup": true,
"installer": {
"script": [
"if (-not (Test-Path \"$(appdir obs-studio)\\current\")) {",
" warn 'OBS Studio was not installed through scoop. You must copy this plugin into the OBS installation folder manually!'",
" return",
"}",
"Get-ChildItem -Path \"$dir\\obs-plugins\\$architecture\" -File | ForEach-Object {",
" New-Item -ItemType HardLink -Path \"$(appdir obs-studio)\\current\\obs-plugins\\$architecture\\$($_.Name)\" -Target $_.FullName -Force | Out-Null",
"}",
"Get-ChildItem -Path \"$dir\\data\\obs-plugins\" -Directory | ForEach-Object {",
" New-Item -ItemType Junction -Path \"$(appdir obs-studio)\\current\\data\\obs-plugins\\$($_.Name)\" -Target $_.FullName -Force | Out-Null",
"}"
]
},
"license": {
"identifier": "GPL-2.0-only",
"url": "https://github.com/obs-ndi/obs-ndi/blob/master/LICENSE"
},
"suggest": {
"NDI Runtime": "ox/ndi-runtime",
"OBS Studio": "ox/obs-studio"
},
"uninstaller": {
"script": [
"if (-not (Test-Path \"$(appdir obs-studio)\\current\")) {",
" warn 'OBS Studio was not installed through scoop. You must remove this plugin from the OBS installation folder manually!'",
" return",
"}",
"Get-ChildItem -Path \"$dir\\obs-plugins\\$architecture\" -File | ForEach-Object {",
" Remove-Item -Path \"$(appdir obs-studio)\\current\\obs-plugins\\$architecture\\$($_.Name)\" -Force -ErrorAction SilentlyContinue",
"}",
"Get-ChildItem -Path \"$dir\\data\\obs-plugins\" -Directory | ForEach-Object {",
" Remove-Item -Path \"$(appdir obs-studio)\\current\\data\\obs-plugins\\$($_.Name)\" -Force -ErrorAction SilentlyContinue",
"}"
]
},
"version": "4.13.1"
}