mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 00:01:20 +00:00
Remove errant quotes around $dir var (#2003)
* Remove errant quotes around $dir var * node*: Change multi-line post_install to array
This commit is contained in:
parent
c9da67cb2b
commit
71701e4712
@ -7,7 +7,7 @@
|
|||||||
"installer": {
|
"installer": {
|
||||||
"args": [
|
"args": [
|
||||||
"/S",
|
"/S",
|
||||||
"/D=\"$dir\""
|
"/D=$dir"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"bin": [
|
"bin": [
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
"installer": {
|
"installer": {
|
||||||
"args": [
|
"args": [
|
||||||
"/S",
|
"/S",
|
||||||
"/D=\"$dir\""
|
"/D=$dir"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"uninstaller": {
|
"uninstaller": {
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
"installer": {
|
"installer": {
|
||||||
"args": [
|
"args": [
|
||||||
"/S",
|
"/S",
|
||||||
"/D=\"$dir\""
|
"/D=$dir"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"uninstaller": {
|
"uninstaller": {
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"installer": {
|
"installer": {
|
||||||
"args": [
|
"args": [
|
||||||
"/S",
|
"/S",
|
||||||
"/D=\"$dir\""
|
"/D=$dir"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"uninstaller": {
|
"uninstaller": {
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
"file": "julia-installer.exe",
|
"file": "julia-installer.exe",
|
||||||
"args": [
|
"args": [
|
||||||
"/S",
|
"/S",
|
||||||
"/D=\"$dir\""
|
"/D=$dir"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"uninstaller": {
|
"uninstaller": {
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
"installer": {
|
"installer": {
|
||||||
"args": [
|
"args": [
|
||||||
"/S",
|
"/S",
|
||||||
"/D=\"$dir\""
|
"/D=$dir"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"uninstaller": {
|
"uninstaller": {
|
||||||
|
|||||||
13
lynx.json
13
lynx.json
@ -4,8 +4,13 @@
|
|||||||
"url": "http://www.vordweb.co.uk/standards/lynx_v283.zip",
|
"url": "http://www.vordweb.co.uk/standards/lynx_v283.zip",
|
||||||
"homepage": "http://www.vordweb.co.uk/standards/download_lynx.htm",
|
"homepage": "http://www.vordweb.co.uk/standards/download_lynx.htm",
|
||||||
"hash": "552bc68afd2ff9a5de88f26d76f55dd8697cf6082c6afb01b3d1a9942f4d3ee0",
|
"hash": "552bc68afd2ff9a5de88f26d76f55dd8697cf6082c6afb01b3d1a9942f4d3ee0",
|
||||||
"bin": "lynx.ps1",
|
"bin": "lynx.cmd",
|
||||||
"pre_install": "
|
"persist": [
|
||||||
\"\\\"$dir\\lynx.exe\\\" --cfg=\\\"$dir\\lynx.cfg\\\"\" | out-file -enc oem \"$dir\\lynx.ps1\"
|
"$dir/lynx.cfg"
|
||||||
"
|
],
|
||||||
|
"pre_install": [
|
||||||
|
"$q = [char]34",
|
||||||
|
"set-content \"$dir/lynx.cfg\" -value $null",
|
||||||
|
"set-content \"$dir/lynx.cmd\" -value \"@$q$dir\\lynx.exe$q --cfg=$q$dir\\lynx.cfg$q %*\""
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
"installer": {
|
"installer": {
|
||||||
"args": [
|
"args": [
|
||||||
"/S",
|
"/S",
|
||||||
"/D=\"$dir\""
|
"/D=$dir"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"uninstaller": {
|
"uninstaller": {
|
||||||
|
|||||||
@ -22,10 +22,10 @@
|
|||||||
".",
|
".",
|
||||||
"bin"
|
"bin"
|
||||||
],
|
],
|
||||||
"post_install": "
|
"post_install": [
|
||||||
# Set npm prefix to install modules inside bin and npm cache so they persist
|
"# Set npm prefix to install modules inside bin and npm cache so they persist",
|
||||||
Set-Content -Value \"prefix=\\\"$persist_dir\\bin\\\"`ncache=\\\"$persist_dir\\cache\\\"\" -Path \"$dir\\node_modules\\npm\\npmrc\"
|
"Set-Content -Value \"prefix=$persist_dir\\bin`ncache=$persist_dir\\cache\" -Path \"$dir\\node_modules\\npm\\npmrc\""
|
||||||
",
|
],
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://nodejs.org/download/chakracore-release/index.json",
|
"url": "https://nodejs.org/download/chakracore-release/index.json",
|
||||||
"re": "v([\\d.]+)"
|
"re": "v([\\d.]+)"
|
||||||
|
|||||||
@ -22,10 +22,10 @@
|
|||||||
".",
|
".",
|
||||||
"bin"
|
"bin"
|
||||||
],
|
],
|
||||||
"post_install": "
|
"post_install": [
|
||||||
# Set npm prefix to install modules inside bin and npm cache so they persist
|
"# Set npm prefix to install modules inside bin and npm cache so they persist",
|
||||||
Set-Content -Value \"prefix=\\\"$persist_dir\\bin\\\"`ncache=\\\"$persist_dir\\cache\\\"\" -Path \"$dir\\node_modules\\npm\\npmrc\"
|
"Set-Content -Value \"prefix=$persist_dir\\bin`ncache=$persist_dir\\cache\" -Path \"$dir\\node_modules\\npm\\npmrc\""
|
||||||
",
|
],
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://nodejs.org/en/download/",
|
"url": "https://nodejs.org/en/download/",
|
||||||
"re": "LTS Version: <strong>([\\d.]+)</strong>"
|
"re": "LTS Version: <strong>([\\d.]+)</strong>"
|
||||||
|
|||||||
@ -22,10 +22,10 @@
|
|||||||
".",
|
".",
|
||||||
"bin"
|
"bin"
|
||||||
],
|
],
|
||||||
"post_install": "
|
"post_install": [
|
||||||
# Set npm prefix to install modules inside bin and npm cache so they persist
|
"# Set npm prefix to install modules inside bin and npm cache so they persist",
|
||||||
Set-Content -Value \"prefix=\\\"$persist_dir\\bin\\\"`ncache=\\\"$persist_dir\\cache\\\"\" -Path \"$dir\\node_modules\\npm\\npmrc\"
|
"Set-Content -Value \"prefix=$persist_dir\\bin`ncache=$persist_dir\\cache\" -Path \"$dir\\node_modules\\npm\\npmrc\""
|
||||||
",
|
],
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://nodejs.org/dist/latest/",
|
"url": "https://nodejs.org/dist/latest/",
|
||||||
"re": "node-v([\\d.]+)-x86.msi"
|
"re": "node-v([\\d.]+)-x86.msi"
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
"installer": {
|
"installer": {
|
||||||
"args": [
|
"args": [
|
||||||
"/S",
|
"/S",
|
||||||
"/D=\"$dir\""
|
"/D=$dir"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"checkver": {
|
"checkver": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user