generated from ScoopInstaller/BucketTemplate
/
powertoys.json
52 lines (52 loc) 路 2.24 KB
/
powertoys.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
{
"version": "0.80.1",
"description": "A set of utilities for power users to tune and streamline their Windows experience for greater productivity.",
"homepage": "https://github.com/microsoft/PowerToys",
"license": "MIT",
"notes": "To run this application, you must install .Net Core: https://dotnet.microsoft.com/download",
"architecture": {
"64bit": {
"url": "https://github.com/microsoft/PowerToys/releases/download/v0.80.1/PowerToysSetup-0.80.1-x64.exe",
"hash": "23e35f7b33c6f24237bca3d5e8edf9b3bd4802dd656c402b40a4fc82670f8be3"
}
},
"installer": {
"script": [
"Expand-DarkArchive \"$dir\\$fname\" \"$dir\\.tmp\"",
"Expand-MsiArchive \"$dir\\.tmp\\AttachedContainer\\PowerToysSetup-$version-x64.msi\" \"$dir\" -ExtractDir 'PowerToys'",
"Remove-Item \"$dir\\.tmp\", \"$dir\\$fname\" -Force -Recurse"
]
},
"post_install": [
"foreach ($f in @('Settings', 'modules\\PowerRename', 'modules\\MeasureTool')) {",
" Get-ChildItem -Path \"$dir\\dll\\WinAppSDK\" | ForEach-Object {",
" New-Item -ItemType HardLink -Path \"$dir\\$f\\$($_.Name)\" -Value $_.FullName | Out-Null",
" }",
"}",
"foreach ($f in @('Settings', 'modules\\ColorPicker', 'modules\\PowerOCR', 'modules\\launcher', ",
" 'modules\\FancyZones', 'modules\\ImageResizer', 'modules\\Awake', ",
" 'modules\\MeasureTool', 'modules\\PowerAccent')) {",
" Get-ChildItem -Path \"$dir\\dll\\Interop\" | ForEach-Object {",
" New-Item -ItemType HardLink -Path \"$dir\\$f\\$($_.Name)\" -Value $_.FullName | Out-Null",
" }",
"}"
],
"shortcuts": [
[
"PowerToys.exe",
"PowerToys"
]
],
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/microsoft/PowerToys/releases/download/v$version/PowerToysSetup-$version-x64.exe",
"hash": {
"url": "https://github.com/microsoft/PowerToys/releases/tag/v$version",
"regex": ">$sha256<"
}
}
}
}
}