mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 15:21:18 +00:00
zigup: (chore) Persist zig symlink with bin alias
Now the zig symlink is persisted by adding an alias that uses the --path-link argument to specify where to keep the zig symlink. Removed note as it is no longer relevant.
This commit is contained in:
parent
027fe538d7
commit
fd59e05e8f
@ -3,15 +3,21 @@
|
||||
"description": "Download and manage Zig compilers",
|
||||
"homepage": "https://github.com/marler8997/zigup",
|
||||
"license": "MIT-0",
|
||||
"notes": "After updating, please run `zigup <your-preferred-version>` to recreate the `zig` symlink.",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://github.com/marler8997/zigup/releases/download/v2024_03_13/zigup.windows-latest-x86_64.zip",
|
||||
"hash": "f4c518ca9a6f16f0514eb9406c6b8bbe491d2b28bd8e9cd41830fe2ec06e7c51"
|
||||
}
|
||||
},
|
||||
"env_add_path": ".",
|
||||
"bin": "zigup.exe",
|
||||
"env_add_path": "zig",
|
||||
"bin": [
|
||||
[
|
||||
"zigup.exe",
|
||||
"zigup",
|
||||
"--path-link",
|
||||
"\"$persist_dir\\zig\\zig.exe\""
|
||||
]
|
||||
],
|
||||
"persist": "zig",
|
||||
"checkver": {
|
||||
"url": "https://api.github.com/repos/marler8997/zigup/releases",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user