The registry and file reflection is also present on ARM64 platform. Therefore, the reflection logic should resemble ${RunningX64} || ${RunningArm64} or ${IsWow64} or !${RunningX86} for short.
I will test this on Windows ARM64 to make sure the logic works as expected. Otherwise this looks good. @rozmansi is already fixing the commit message which is wrong.
The registry and file reflection is also present on ARM64 platform. Therefore, the reflection logic should resemble
${RunningX64} || ${RunningArm64}
or${IsWow64}
or!${RunningX86}
for short.