You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.
I would like to be able to ignore certain executables in a package folder.
I should add a filename.ignore file next to the executable.
So if my package includes boB.exe and I include a boB.exe.ignore file chocolatey will not create a batch redirect. Note the case sensitivity. If I instead included bob.exe.ignore chocolatey should still create a batch redirect.
The text was updated successfully, but these errors were encountered:
Just wondering.. instead of requiring packages to create .ignore files. Wouldn't it be more sensible to allow people to specify which redirects should be created?
What if you create a lot of executable's but only want a selected few to be added to the path?
Not saying that the current way is not sufficient, but it seems to be a bit inconvenient.
These are only the files in the package folder. It's extremely convenient when you have a whole set of executables you want created, which is more often the case in my experience.
Curious why you more executables in your package folder that you don't want added as redirects versus the ones that you do. Are the others temporary? If so maybe it is better to use a temporary folder and clean it up when you are done using it in chocolateyInstall.ps1.
@ferventcoder
hmm... I guess that makes sense.
Well, I tried to install nodist for managing node versions under windows through chocolatey. In their package, they included a old version of node that they use internally. Their installation will create multiple copies of node.exe with different versions, but only one if it needs to be redirected. In that case I guess having nodist scripts to create a .ignore file is better.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I would like to be able to ignore certain executables in a package folder.
I should add a
filename.ignore
file next to the executable.So if my package includes
boB.exe
and I include aboB.exe.ignore
file chocolatey will not create a batch redirect. Note the case sensitivity. If I instead includedbob.exe.ignore
chocolatey should still create a batch redirect.The text was updated successfully, but these errors were encountered: