GeezerVison is showing github.com — installer: fix installers for node.js rename · nodejs/node@45a2046
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard -6.37 KB
- Display the source diff
- Display the rich diff
Collapse file Copy file name to clipboard 12.1 KB
- Display the source diff
- Display the rich diff
Collapse file Copy file name to clipboard -1.94 KB
- Display the source diff
- Display the rich diff
Collapse file Copy file name to clipboard Collapse file Copy file name to clipboardExpand all lines: tools/install.py -11Lines changed: 0 additions & 11 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -132,17 +132,6 @@ def files(action): | 132 | 132 | exeext = '.exe' if is_windows else '' | 133 | 133 | action(['out/Release/node' + exeext], 'bin/node' + exeext) | 134 | 134 |
| 135 | | - if not is_windows: | 136 | | - # Install iojs -> node compatibility symlink. | 137 | | - link_target = 'bin/node' | 138 | | - link_path = abspath(install_path, link_target) | 139 | | - if action == uninstall: | 140 | | - action([link_path], link_target) | 141 | | - elif action == install: | 142 | | - try_symlink('iojs', link_path) | 143 | | - else: | 144 | | - assert(0) # Unhandled action type. | 145 | | - | 146 | 135 | if 'true' == variables.get('node_use_dtrace'): | 147 | 136 | action(['out/Release/node.d'], 'lib/dtrace/node.d') | 148 | 137 |
| |
Collapse file Copy file name to clipboardExpand all lines: tools/msvs/msi/i18n/de-de.wxl -3Lines changed: 0 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 12 | 12 | <String Id="NodeRuntime_Title">Node.js-Laufzeitumgebung</String> | 13 | 13 | <String Id="NodeRuntime_Description">Installation der [ProductName]-Laufzeitumgebung (node.exe).</String> | 14 | 14 |
| 15 | | - <String Id="NodeAlias_Title">Verweis von node auf iojs</String> | 16 | | - <String Id="NodeAlias_Description">Erstelle node.exe als Verweis für iojs.exe.</String> | 17 | | - | 18 | 15 | <String Id="NodePerfCtrSupport_Title">Performance Counter</String> | 19 | 16 | <String Id="NodePerfCtrSupport_Description">Installiert Unterstützung für [ProductName]-spezifische Performance Counter.</String> | 20 | 17 |
| |
Collapse file Copy file name to clipboardExpand all lines: tools/msvs/msi/i18n/en-us.wxl -3Lines changed: 0 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 12 | 12 | <String Id="NodeRuntime_Title">Node.js runtime</String> | 13 | 13 | <String Id="NodeRuntime_Description">Install the core [ProductName] runtime (node.exe).</String> | 14 | 14 |
| 15 | | - <String Id="NodeAlias_Title">Alias node to iojs</String> | 16 | | - <String Id="NodeAlias_Description">Create node.exe as an alias for iojs.exe.</String> | 17 | | - | 18 | 15 | <String Id="NodePerfCtrSupport_Title">Performance counters</String> | 19 | 16 | <String Id="NodePerfCtrSupport_Description">Installs support for [ProductName]-specific performance counters.</String> | 20 | 17 |
| |
Collapse file Copy file name to clipboardExpand all lines: tools/msvs/msi/product.wxs -23Lines changed: 0 additions & 23 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 49 | 49 | <ComponentRef Id="AppData" /> | 50 | 50 | <ComponentGroupRef Id="Product.Generated"/> | 51 | 51 |
| 52 | | - <Feature Id="NodeAlias" | 53 | | - Level="1" | 54 | | - Title="!(loc.NodeAlias_Title)" | 55 | | - Description="!(loc.NodeAlias_Description)"> | 56 | | - <ComponentRef Id="NodeAlias"/> | 57 | | - </Feature> | 58 | | - | 59 | 52 | <Feature Id="NodePerfCtrSupport" | 60 | 53 | Level="1" | 61 | 54 | Title="!(loc.NodePerfCtrSupport_Title)" | | 124 | 117 | <File Id="node.exe" KeyPath="yes" Source="$(var.SourceDir)\node.exe"/> | 125 | 118 | </Component> | 126 | 119 |
| 127 | | - <Component Id="NodeAlias" Guid="fde09cce-a503-4409-a3c4-61ae2a5a5906"> | 128 | | - <!-- Always remove node.exe. The hard link will be recreated by the | 129 | | - `LinkNodeExeToIojsExe` custom action whenever needed. --> | 130 | | - <RemoveFile Id="node.exe" Name="node.exe" On="both" /> | 131 | | - </Component> | 132 | | - | 133 | 120 | <Component Id="NodeVarsScript"> | 134 | 121 | <File Id="nodevars.bat" KeyPath="yes" Source="$(var.RepoDir)\tools\msvs\nodevars.bat"/> | 135 | 122 | </Component> | | 262 | 249 | </Component> | 263 | 250 | </DirectoryRef> | 264 | 251 |
| 265 | | - <CustomAction Id="LinkNodeExeToIojsExe" | 266 | | - FileKey="iojs.exe" | 267 | | - ExeCommand="-e " require('fs').linkSync(process.execPath, require('path').resolve(process.execPath, '../node.exe')); "" | 268 | | - Impersonate="no" | 269 | | - Execute="deferred" | 270 | | - Return="check" /> | 271 | | - | 272 | 252 | <Binary Id='BroadcastEnvironmentUpdate' | 273 | 253 | SourceFile='$(var.custom_actions.TargetDir)$(var.custom_actions.TargetName).dll' /> | 274 | 254 |
| | 279 | 259 | Return="check" /> | 280 | 260 |
| 281 | 261 | <InstallExecuteSequence> | 282 | | - <Custom Action="LinkNodeExeToIojsExe" After="InstallFiles"> | 283 | | - $NodeAlias = 3 | 284 | | - </Custom> | 285 | 262 | <Custom Action='BroadcastEnvironmentUpdate' After='InstallFinalize'/> | 286 | 263 | </InstallExecuteSequence> | 287 | 264 |
| |
Collapse file Copy file name to clipboardExpand all lines: tools/osx-pkg.pmdoc/index.xml.tmpl +5-7Lines changed: 5 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | <pkmkdoc spec="1.12"> | 2 | 2 | <properties> | 3 | 3 | <title>Node.js</title> | 4 | | - <build>/Users/iojs/Desktop/iojs.pkg</build> | 5 | | - <organization>org.iojs</organization> | | 4 | + <build>/Users/nodejs/Desktop/node.pkg</build> | | 5 | + <organization>org.nodejs</organization> | 6 | 6 | <userSees ui="both"/> | 7 | 7 | <min-target os="3"/> | 8 | 8 | <domain system="true"/> | | 13 | 13 | </distribution> | 14 | 14 | <contents> | 15 | 15 | <choice title="Node.js" id="choice1" starts_selected="true" starts_enabled="true" starts_hidden="false"> | 16 | | - <pkgref id="org.iojs.iojs.pkg"/> | | 16 | + <pkgref id="org.nodejs.pkg"/> | 17 | 17 | </choice> | 18 | 18 | <choice title="npm" id="choice2" starts_selected="true" starts_enabled="true" starts_hidden="false"> | 19 | | - <pkgref id="org.iojs.npm.pkg"/> | | 19 | + <pkgref id="org.nodejs.node.npm.pkg"/> | 20 | 20 | </choice> | 21 | 21 | </contents> | 22 | 22 | <resources bg-scale="none" bg-align="topleft"> | | 28 | 28 | {\colortbl;\red255\green255\blue255;} | 29 | 29 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural | 30 | 30 |
| 31 | | -\f0\fs26 \cf0 This package will install Node.js {iojsversion} and npm {npmversion} into /usr/local/. The binary /usr/local/bin/iojs will also be symlinked as /usr/local/bin/node.}]]></resource> | | 31 | +\f0\fs26 \cf0 This package will install Node.js {nodeversion} and npm {npmversion} into /usr/local/.}]]></resource> | 32 | 32 | <resource mime-type="text/rtf" kind="embedded" type="conclusion"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360 | 33 | 33 | {\fonttbl\f0\fnil\fcharset0 LucidaGrande;} | 34 | 34 | {\colortbl;\red255\green255\blue255;} | 35 | 35 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural | 36 | 36 |
| 37 | 37 | \f0\fs26 \cf0 Node.js was installed at\ | 38 | 38 | \ | 39 | | - /usr/local/bin/iojs\ | 40 | | -and symlinked at\ | 41 | 39 | /usr/local/bin/node\ | 42 | 40 | \ | 43 | 41 | npm was installed at\ | |
|