Nimble install error (Windows)
Closed this issue · 1 comments
eugenesvk commented
There is an error when installing nimcr with nimble install nimcr1
:
`...Temp\nimble_10464\githubcom_PMunchnimcr\nimcr.nim(55, 17) Error: expression 'execShellCmd("attrib +H " & exeName)' is of type 'int' and has to be discarded;`
appending discard
to https://github.com/PMunch/nimcr/blob/master/nimcr.nim#L55 seems to work
(by the way, the command did indeed add a hidden attribute to the file in my test a single script :) )