bin: Add a PrepareAppDir.sh script to generate bundle
Handle bundle in generated paths