If a user unpacked the correct distribution, imho the platform does not need to be part of the directory anymore.
It is unlikely that someone has both beneath each other.
It could either be an option to remove the suffix when assembling the image zip, or maybe some way to freely configure or transform the name inside.
Maybe a quick'n'easy way would be to allow to configure the image subdirectory for each target platform.
Then one could configure "windows/${project.name}" and "linux/${project.name}" which would then already result in the expected result.
If a user unpacked the correct distribution, imho the platform does not need to be part of the directory anymore. It is unlikely that someone has both beneath each other. It could either be an option to remove the suffix when assembling the image zip, or maybe some way to freely configure or transform the name inside. Maybe a quick'n'easy way would be to allow to configure the image subdirectory for each target platform. Then one could configure
"windows/${project.name}"
and"linux/${project.name}"
which would then already result in the expected result.