Skip to content

Commit b6a607d

Browse files
authored
Add shell scripts to MSI (#149)
1 parent 172010d commit b6a607d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nvs",
3-
"version": "1.5.3",
3+
"version": "1.5.4",
44
"description": "Node Version Switcher",
55
"main": "lib/index.js",
66
"scripts": {

setup/nvs.wxs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
<ComponentRef Id="NvsPackageJson"/>
4949
<ComponentRef Id="NvsCmdScript"/>
5050
<ComponentRef Id="NvsPSScript"/>
51+
<ComponentRef Id="NvsBashScript"/>
52+
<ComponentRef Id="NvsBashExeScript"/>
5153
<ComponentRef Id="NvsDefaults"/>
5254
<ComponentRef Id="SevenZipTool" />
5355
<ComponentGroupRef Id="NvsLibFiles"/>
@@ -104,6 +106,12 @@
104106
<Component Id="NvsPSScript">
105107
<File Id="nvs.ps1" KeyPath="yes" Source="$(var.SourceDir)\nvs.ps1"/>
106108
</Component>
109+
<Component Id="NvsBashScript">
110+
<File Id="nvs.sh" KeyPath="yes" Source="$(var.SourceDir)\nvs.sh"/>
111+
</Component>
112+
<Component Id="NvsBashExeScript">
113+
<File Id="nvs" KeyPath="yes" Source="$(var.SourceDir)\nvs"/>
114+
</Component>
107115
<Component Id="NvsDefaults">
108116
<File Id="defaults.json" KeyPath="yes" Source="$(var.SourceDir)\defaults.json"/>
109117
</Component>

0 commit comments

Comments
 (0)