When I execute File > Export As Zip, it will create a zip file of the project folder and the Shared Modules folder, which is fine. But B4A adds all of the files from my Shared Modules folder to the project directory in the zip file instead of creating a separate folder for these files.
If I later restore this zip file to a temporary directory and try to get it to run, I have to pick and choose the *.bas files from the unzipped project directory and manually copy them to the active Shared Modules directory (after backing up the current Shared Modules directory). This takes time and can lead to mistakes. I get files scattered all over the place especially when restoring multiple .zip files.
Solution #1:
Create a "Shared Modules" folder in the zip file so the files are kept separate from the project files. This makes it easier to copy the files to the active Shared Modules folder that B4A references.
Solution #2:
Keep things as they are. When the unzipped project is run, it will first look for the files in the project directory rather than the Shared Modules directory. This will make it easy to run any of my backups without backing up the active Shared Modules directory and copying the unzipped files to the Shared Modules directory. I thought B4A always did this which made my life easy. But that's not how it works with the current B4A version. Too bad because I liked this solution the best.
Solution #3:
Is there a better solution that doesn't involve renaming the current Shared Modules folder or moving files around.
TIA
If I later restore this zip file to a temporary directory and try to get it to run, I have to pick and choose the *.bas files from the unzipped project directory and manually copy them to the active Shared Modules directory (after backing up the current Shared Modules directory). This takes time and can lead to mistakes. I get files scattered all over the place especially when restoring multiple .zip files.
Solution #1:
Create a "Shared Modules" folder in the zip file so the files are kept separate from the project files. This makes it easier to copy the files to the active Shared Modules folder that B4A references.
Solution #2:
Keep things as they are. When the unzipped project is run, it will first look for the files in the project directory rather than the Shared Modules directory. This will make it easy to run any of my backups without backing up the active Shared Modules directory and copying the unzipped files to the Shared Modules directory. I thought B4A always did this which made my life easy. But that's not how it works with the current B4A version. Too bad because I liked this solution the best.
Solution #3:
Is there a better solution that doesn't involve renaming the current Shared Modules folder or moving files around.
TIA