Problem with 64 bit option in Install-ChocolateyPackage.ps1 et al #229
Comments
+1 like :D |
Is there a file or a proposed file that we could/should use for small On Mon, Jan 7, 2013 at 6:54 PM, Rob Reynolds notifications@github.comwrote:
|
Each function in chocolatey is a file, no matter how small. |
What's the reason for that? For trivial but handy functions, a global Just curious. |
Can I assign myself to this? |
I wanted to attach the pull request here but I guess that's not possible or I am still too new with GitHub :P But here: |
getbits? lol - isn't get-processorAddressWidth or something more appropriate - though wordier for sure ;) |
The idea is to write less code, not more ;) Also, the idea is to make sense for people less tech-savvy but with a wish to make packages. Like my grandma. She would like to make packages, and she called me three times, worried about words like Seriously though, I named the function |
@Redsandro this is hilarious. :) |
The PR is closed, so this is closed. :) |
Some software has an
.exe
installer for the32 bit
and.msi
installer for the64 bit
version.Because of this:
$fileType
is different in both cases;$silentArgs
is different in both cases.But you can specify only one.
One idea is to extract the bit-switch from
Get-ChocolateyWebFile.ps1
:...and turn it into a global Chocolatey function so every package can just do
getBits()
or something:The text was updated successfully, but these errors were encountered: