I was trying to send my app to someone by compressing the
bin/ folder and upload it to Google Drive, but when it’s downloaded and uncompressed, the app cannot access the data folder (no images displayed).
- app is built with oF 0.9.8
- xcode and manual
makeproduces the same, debug or release
- it’s sent from a macOS 10.13.x computer to another macOS 10.13.x computer
- I’ve tried
tar.gz, same issue.
- the app works as expected when builded and run on the my computer
The really weird thing is that it worked when the
.app (as is) and the
data/ (compressed) are downloaded separately and manually put together into a common directory. Same if I download the whole
bin/ folder and manually move the twos into another folder …
Here’s an example app simply displaying an image, that I’ve gzipped and uploaded to Google Drive:
Steps to reproduce:
- download the whole
- uncompress it, run the
no-datasDebug.appand see no image
- create a new folder anywhere
- copy (or move)
data/one at a time inside this new folder
- ¿ black magic does its tricks ?
- run the
.appand see the image
One can easily get around this, with the steps I described, or by packaging the data inside the app contents (haven’t tested), but this is still some pretty weird thing happening here !
p.s: I haven’t tested with other platform.