mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 00:01:20 +00:00
Yarn: Re-Add Prefix Global Directory Argument (#232)
"Prefix" was changed to "Global-Folder" but "Prefix" is still required for global tools to set up their commands into the correct location rather than localappdata. Example is azure-functions-core-tools. Both options can be specified concurrently and safely.
This commit is contained in:
parent
f0bdeeb9b3
commit
c5b1d4e4c9
@ -13,7 +13,8 @@
|
|||||||
"post_install": [
|
"post_install": [
|
||||||
"yarn config set cache-folder \"$dir\\cache\"",
|
"yarn config set cache-folder \"$dir\\cache\"",
|
||||||
"yarn config set yarn-offline-mirror \"$dir\\mirror\"",
|
"yarn config set yarn-offline-mirror \"$dir\\mirror\"",
|
||||||
"yarn config set global-folder \"$dir\\global\""
|
"yarn config set global-folder \"$dir\\global\"",
|
||||||
|
"yarn config set prefix \"$dir\\global\""
|
||||||
],
|
],
|
||||||
"uninstaller": {
|
"uninstaller": {
|
||||||
"script": [
|
"script": [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user