Windows: Correct the path to the html help file for 64 bit build.

This commit is contained in:
Joey Hess 2021-02-24 13:19:42 -04:00
parent 0c90ccc40c
commit a942ed4bb9
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 19 additions and 3 deletions

View file

@ -190,8 +190,8 @@ makeInstaller gitannex gitannexcmd license htmlhelp extrabins sharefiles launche
addfile gitannexcmd
section "meta" [] $ do
-- git opens this file when git annex --help is run.
-- (Program Files/Git/mingw32/share/doc/git-doc/git-annex.html)
setOutPath "$INSTDIR\\mingw32\\share\\doc\\git-doc"
-- (Program Files/Git/mingw64/share/doc/git-doc/git-annex.html)
setOutPath "$INSTDIR\\mingw64\\share\\doc\\git-doc"
addfile htmlhelp
setOutPath "$INSTDIR"
addfile license
@ -203,7 +203,7 @@ makeInstaller gitannex gitannexcmd license htmlhelp extrabins sharefiles launche
delete [RebootOK] $ autoStartItem
removefilesFrom "$INSTDIR/usr/bin" (gitannex:extrabins)
removefilesFrom "$INSTDIR/cmd" (gitannexcmd:launchers)
removefilesFrom "$INSTDIR\\mingw32\\share\\doc\\git-doc" [htmlhelp]
removefilesFrom "$INSTDIR\\mingw64\\share\\doc\\git-doc" [htmlhelp]
removefilesFrom "$INSTDIR" [license, uninstaller]
where
addfile f = file [] (str f)