packaging: install hgk as hgk.tcl
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 23 Oct 2019 11:54:22 -0700
changeset 43521 ea5e7726fee0
parent 43520 787530384c4f
child 43522 ce96be208ea4
packaging: install hgk as hgk.tcl Giving it a file extension will give Windows a better chance at being able to execute it via standard means. This also makes WiX consistent with the Inno installer. Differential Revision: https://phab.mercurial-scm.org/D7164
contrib/packaging/wix/contrib.wxs
--- a/contrib/packaging/wix/contrib.wxs	Wed Oct 23 12:01:31 2019 -0700
+++ b/contrib/packaging/wix/contrib.wxs	Wed Oct 23 11:54:22 2019 -0700
@@ -16,7 +16,7 @@
       <Directory Id="contribdir" Name="contrib" FileSource="$(var.SourceDir)">
         <Component Id="contrib" Guid="$(var.contrib.guid)" Win64='$(var.IsX64)'>
           <File Name="bash_completion" KeyPath="yes" />
-          <File Name="hgk" />
+          <File Name="hgk.tcl" Source="$(var.SourceDir)/hgk" />
           <File Name="hgweb.fcgi" />
           <File Name="hgweb.wsgi" />
           <File Name="logo-droplets.svg" />