With the release of the PortableApps.com Launcher version 2.1, the $Bits variable is set by PAL itself.
As such, setting this variable in Custom.nsh can be removed for the following applications, see applicable edits to the Custom.nsh files here:
- 7-Zip **
- AkelPad
- Avidemux
- Blender
- Daphne
- KVIrc
- Krita
- Listary
- ProcessHacker
- RapidCRCUnicode
- RawTherapee **
- TEncoder
- UltraDefrag
- VirtualDub
- WaveShop
- WinMTR
** These applications require moving small pieces of code that were handled within the general code. See the github commit for details.
This post has been stickied, with applications being removed from the list once updated.
Why not '${If} ${RunningX64}' and drop $Bits?
PAL uses the same means of detecting bit depth just like the
x64.nsh
header file. There's no need to include that extra file when the same thing is already being done.Edit:
Here's an example of what you can use without the
x64.nsh
include file..daemon.devin
x64.nsh is part of NSIS. Using upstream code (functions, variables) is better than duplicate things in custom code.
Just my 2 cents.
Why would we want to include a file that uses the same code that PAL is already using?
This would just create more overhead, which can build up and in the long run is a bad thing.
daemon.devin