Closed W1M0R closed 2 months ago
@milesj Here is a working proto.json
Scoop application manifest:
{
"version": "0.40.0",
"description": "A pluggable multi-language version manager.",
"homepage": "https://github.com/moonrepo/proto",
"license": "MIT",
"url": "https://github.com/moonrepo/proto/releases/download/v0.40.0/proto_cli-x86_64-pc-windows-msvc.zip",
"hash": "af38f2c86813a4e7b70157bdb2478f8d9b5946e1435b795bb07cababe0d24ea9",
"bin": [ "proto.exe", "proto-shim.exe" ],
"checkver": {
"github": "https://github.com/moonrepo/proto"
},
"autoupdate": {
"url": "https://github.com/moonrepo/proto/releases/download/v$version/proto_cli-x86_64-pc-windows-msvc.zip"
},
"env_add_path": [
"shims",
"bin"
],
"env_set": {
"PROTO_HOME": "$dir"
}
}
The result of scoop install
:
❯ scoop install .\etc\scoop\proto.json
Installing 'proto' (0.40.0) [64bit] from 'C:\Users\user2\ScoopTest\proto.json'
Loading proto_cli-x86_64-pc-windows-msvc.zip from cache
Checking hash of proto_cli-x86_64-pc-windows-msvc.zip ... ok.
Extracting proto_cli-x86_64-pc-windows-msvc.zip ... done.
Linking ~\scoop\apps\proto\current => ~\scoop\apps\proto\0.40.0
Creating shim for 'proto'.
Creating shim for 'proto-shim'.
Adding ~\scoop\apps\proto\current\shims to your path.
Adding ~\scoop\apps\proto\current\bin to your path.
'proto' (0.40.0) was installed successfully!
The result of proto diagnose
:
❯ proto diagnose
No issues detected with your proto installation!
I don't plan to officially support other install methods outside what is already supported. This feels like something the community can maintain unofficially, in the same way that homebrew is.
@milesj All good, thanks.
Updated status.
The scoop package manager offers a convenient way to install applications on Windows systems without requiring admin privileges.
If
proto
can be added to the scoop registry, then it could be installed using:Some helpful guides and examples: