fix windows build

This commit is contained in:
Joey Hess 2025-09-23 13:02:24 -04:00
commit f2abeaae12
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -61,7 +61,10 @@ main = do
let gitannexcmd = tmpdir </> literalOsPath "git-annex.cmd"
F.writeFileString gitannexcmd "git annex %*"
F.writeFileString (toOsPath nsifile) $ makeInstaller
gitannex gitannexcmd license htmlhelp (winPrograms ++ magicDLLs') magicShare'
gitannex (fromOsPath gitannexcmd) license
(fromOsPath htmlhelp)
(winPrograms ++ magicDLLs')
magicShare'
[ webappscript, autostartscript ]
mustSucceed "makensis" [File nsifile]
removeFile (toOsPath nsifile) -- left behind if makensis fails