mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
zigup: (chore) Add architecture, persist zig versions
Add architecture because zigup is 64bit. Persist downloaded versions of zig which are kept in `$dir\zig`. Add $dir to PATH because the symlink to `zig` is created here. Add note that the `zig` symlink needs to be recreated after update. We should use `--path-link` to move this to a folder that Scoop can persist.
This commit is contained in:
parent
50a13bc5e9
commit
0000de0f8e
@ -3,14 +3,25 @@
|
|||||||
"description": "Download and manage Zig compilers",
|
"description": "Download and manage Zig compilers",
|
||||||
"homepage": "https://github.com/marler8997/zigup",
|
"homepage": "https://github.com/marler8997/zigup",
|
||||||
"license": "MIT-0",
|
"license": "MIT-0",
|
||||||
"url": "https://github.com/marler8997/zigup/releases/download/v2024_02_25/zigup.windows-latest-x86_64.zip",
|
"notes": "After updating, please run `zigup <your-preferred-version>` to recreate the `zig` symlink.",
|
||||||
"hash": "9aa5c98b55203712af61242753871ad75cada479373713b4dc2804c21c4db561",
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"url": "https://github.com/marler8997/zigup/releases/download/v2024_02_25/zigup.windows-latest-x86_64.zip",
|
||||||
|
"hash": "9aa5c98b55203712af61242753871ad75cada479373713b4dc2804c21c4db561"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"env_add_path": ".",
|
||||||
"bin": "zigup.exe",
|
"bin": "zigup.exe",
|
||||||
|
"persist": "zig",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://api.github.com/repos/marler8997/zigup/releases",
|
"url": "https://api.github.com/repos/marler8997/zigup/releases",
|
||||||
"regex": "v([\\d_]+)"
|
"regex": "v([\\d_]+)"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": "https://github.com/marler8997/zigup/releases/download/v$version/zigup.windows-latest-x86_64.zip"
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"url": "https://github.com/marler8997/zigup/releases/download/v$version/zigup.windows-latest-x86_64.zip"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user