File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "license" : " MIT" ,
66 "architecture" : {
77 "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" ,
99 "hash" : " fdf3b65bb60930a7f454cb164ea86040ea28a62b8ee586b67672b9a145c01dc7"
1010 }
1111 },
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+ },
1624 "env_set" : {
1725 "PROTO_HOME" : " $dir"
1826 },
27+ "env_add_path" : " bin" ,
1928 "checkver" : {
2029 "github" : " https://github.com/moonrepo/proto"
2130 },
You can’t perform that action at this time.
0 commit comments