-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-scoop-manifest.json
40 lines (40 loc) · 1.12 KB
/
test-scoop-manifest.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
{
"description": "SCOOP manifest test for PowerShell script handlers",
"version": "2024.05.12",
"license": [
{
"identifier": "Public Domain"
}
],
"url": [
"https://avatars.githubusercontent.com/u/1911077?v=4"
],
"installer": {
"script": [
"Write-Host \"\nInvoke installer/script handler\""
]
},
"post_install": [
"Write-Host \"Invoke post_install handler\"",
"Write-Host \"\nEnvirnmental variables:\"",
"Write-Host (Get-ChildItem Env:* | Sort-Object -Property Name | Format-Table | Out-String)",
"Write-Host \"\nMyInvocation:\"",
"$MyInvocation",
"Write-Host \"\nVariabls:\"",
"Write-Host (Get-Variable -Name \"*\" | Sort-Object -Property Name | Format-Table | Out-String)",
"Write-Host \"\nCurrent working directory:\"",
"Write-Host (Get-Item .)",
"Write-Host \"\n\""
],
"pre_uninstall": [
"Write-Host \"Invoke pre_uninstall handler\""
],
"uninstaller": {
"script": [
"Write-Host \"Invoke uninstaller/script handler\"",
"Write-Host \"\nVariabls:\"",
"Get-Variable -Name \"*\"",
"Write-Host \"\n\""
]
}
}