diff --git a/dosbox.json b/dosbox.json index 1e6ecb8971..c2a19a12ae 100644 --- a/dosbox.json +++ b/dosbox.json @@ -7,7 +7,7 @@ "installer": { "args": [ "/S", - "/D=\"$dir\"" + "/D=$dir" ] }, "bin": [ diff --git a/erlang.json b/erlang.json index 85d3741dec..b088c5777d 100644 --- a/erlang.json +++ b/erlang.json @@ -23,7 +23,7 @@ "installer": { "args": [ "/S", - "/D=\"$dir\"" + "/D=$dir" ] }, "uninstaller": { diff --git a/haskell.json b/haskell.json index cb286faad2..d2c8bca1aa 100644 --- a/haskell.json +++ b/haskell.json @@ -10,7 +10,7 @@ "installer": { "args": [ "/S", - "/D=\"$dir\"" + "/D=$dir" ] }, "uninstaller": { diff --git a/jetbrains-toolbox.json b/jetbrains-toolbox.json index d10491352f..d4c308707b 100644 --- a/jetbrains-toolbox.json +++ b/jetbrains-toolbox.json @@ -7,7 +7,7 @@ "installer": { "args": [ "/S", - "/D=\"$dir\"" + "/D=$dir" ] }, "uninstaller": { diff --git a/julia.json b/julia.json index 35b3f8d66f..21906728fc 100644 --- a/julia.json +++ b/julia.json @@ -16,7 +16,7 @@ "file": "julia-installer.exe", "args": [ "/S", - "/D=\"$dir\"" + "/D=$dir" ] }, "uninstaller": { diff --git a/llvm.json b/llvm.json index 0bab440db1..884574e29b 100644 --- a/llvm.json +++ b/llvm.json @@ -15,7 +15,7 @@ "installer": { "args": [ "/S", - "/D=\"$dir\"" + "/D=$dir" ] }, "uninstaller": { diff --git a/lynx.json b/lynx.json index b263262465..ed115614a4 100644 --- a/lynx.json +++ b/lynx.json @@ -4,8 +4,13 @@ "url": "http://www.vordweb.co.uk/standards/lynx_v283.zip", "homepage": "http://www.vordweb.co.uk/standards/download_lynx.htm", "hash": "552bc68afd2ff9a5de88f26d76f55dd8697cf6082c6afb01b3d1a9942f4d3ee0", - "bin": "lynx.ps1", - "pre_install": " - \"\\\"$dir\\lynx.exe\\\" --cfg=\\\"$dir\\lynx.cfg\\\"\" | out-file -enc oem \"$dir\\lynx.ps1\" - " + "bin": "lynx.cmd", + "persist": [ + "$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 %*\"" + ] } diff --git a/nmap.json b/nmap.json index 70c486822f..7515b3fb35 100644 --- a/nmap.json +++ b/nmap.json @@ -8,7 +8,7 @@ "installer": { "args": [ "/S", - "/D=\"$dir\"" + "/D=$dir" ] }, "uninstaller": { diff --git a/node-chakracore.json b/node-chakracore.json index 0200352791..0da2752a6a 100644 --- a/node-chakracore.json +++ b/node-chakracore.json @@ -22,10 +22,10 @@ ".", "bin" ], - "post_install": " - # 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\" - ", + "post_install": [ + "# 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\"" + ], "checkver": { "url": "https://nodejs.org/download/chakracore-release/index.json", "re": "v([\\d.]+)" diff --git a/nodejs-lts.json b/nodejs-lts.json index d8d312b7bd..94c05136fd 100644 --- a/nodejs-lts.json +++ b/nodejs-lts.json @@ -22,10 +22,10 @@ ".", "bin" ], - "post_install": " - # 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\" - ", + "post_install": [ + "# 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\"" + ], "checkver": { "url": "https://nodejs.org/en/download/", "re": "LTS Version: ([\\d.]+)" diff --git a/nodejs.json b/nodejs.json index 5d7ce623aa..3a78e33fc7 100644 --- a/nodejs.json +++ b/nodejs.json @@ -22,10 +22,10 @@ ".", "bin" ], - "post_install": " - # 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\" - ", + "post_install": [ + "# 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\"" + ], "checkver": { "url": "https://nodejs.org/dist/latest/", "re": "node-v([\\d.]+)-x86.msi" diff --git a/smartmontools.json b/smartmontools.json index 08aa1c08c1..3accfeaa54 100644 --- a/smartmontools.json +++ b/smartmontools.json @@ -17,7 +17,7 @@ "installer": { "args": [ "/S", - "/D=\"$dir\"" + "/D=$dir" ] }, "checkver": {