/
pixi.json
47 lines (47 loc) 路 1.59 KB
/
pixi.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
{
"homepage": "https://prefix.dev/",
"description": "Package management made easy",
"version": "0.20.1",
"license": "BSD-3-Clause",
"architecture": {
"64bit": {
"url": "https://github.com/prefix-dev/pixi/releases/download/v0.20.1/pixi-x86_64-pc-windows-msvc.zip",
"hash": "fb1d9db67a0b76be67fa084b8ba47d57b2ce6951d8630483caafb235b019ccd0"
}
},
"installer": {
"script": [
"if (Test-Path \"$persist_dir\\bin\\pixi.exe\") {",
" Remove-Item \"$persist_dir\\bin\\pixi.exe\" -Force",
" Move-Item \"$dir\\pixi.exe\" \"$persist_dir\\bin\\pixi.exe\"",
"} else {",
" if (!(Test-Path \"$persist_dir\\bin\")) {",
" New-Item -Path \"$persist_dir\\bin\" -ItemType Directory | Out-Null",
" }",
" Move-Item \"$dir\\pixi.exe\" \"$persist_dir\\bin\\pixi.exe\"",
"}",
"if (!(Test-Path \"$persist_dir\\config.toml\") -and !(Test-Path \"$dir\\config.toml\")) {",
" New-Item -Path \"$dir\\config.toml\" -ItemType File | Out-Null",
"}"
]
},
"env_set": {
"PIXI_HOME": "$dir"
},
"env_add_path": "bin",
"persist": [
"bin",
"envs",
"config.toml"
],
"checkver": {
"github": "https://github.com/prefix-dev/pixi"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/prefix-dev/pixi/releases/download/v$version/pixi-x86_64-pc-windows-msvc.zip"
}
}
}
}