File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 5
5
"license" : " MIT" ,
6
6
"architecture" : {
7
7
"64bit" : {
8
- "url" : " https://gh-proxy.com/https:// github.com/moonrepo/proto/releases/download/v0.52.5/proto_cli-x86_64-pc-windows-msvc.zip" ,
8
+ "url" : " https://github.com/moonrepo/proto/releases/download/v0.52.5/proto_cli-x86_64-pc-windows-msvc.zip" ,
9
9
"hash" : " fdf3b65bb60930a7f454cb164ea86040ea28a62b8ee586b67672b9a145c01dc7"
10
10
}
11
11
},
12
- "bin" : [
13
- " proto.exe" ,
14
- " proto-shim.exe"
15
- ],
12
+ "installer" : {
13
+ "script" : [
14
+ " # Create bin directory" ,
15
+ " New-Item -ItemType Directory -Force -Path \" $dir\\ bin\" | Out-Null" ,
16
+ " " ,
17
+ " # Move proto binaries into bin" ,
18
+ " Move-Item \" $dir\\ proto.exe\" \" $dir\\ bin\\ proto.exe\" -Force" ,
19
+ " if (Test-Path \" $dir\\ proto-shim.exe\" ) {" ,
20
+ " Move-Item \" $dir\\ proto-shim.exe\" \" $dir\\ bin\\ proto-shim.exe\" -Force" ,
21
+ " }"
22
+ ]
23
+ },
16
24
"env_set" : {
17
25
"PROTO_HOME" : " $dir"
18
26
},
27
+ "env_add_path" : " bin" ,
19
28
"checkver" : {
20
29
"github" : " https://github.com/moonrepo/proto"
21
30
},
You can’t perform that action at this time.
0 commit comments