I'm using Unity to make the software. In order to lower the memory when I burn the installer to the disc, I decided to share the AssetBundle folder which hold most of the data of the software for all platforms. The way I did it was putting the AssetBundle directory in folder for "all platforms", and then after it finishes copy the whole AssetBundle folder to "installdir", I check the platform and move the AssetBundle folder into the other folder by using <copyfile> and <deletefile>, but since my AssetBundle is too big, it takes too long to do that. Do have any suggestions for that? Can I copy the the files/folders for certain platform folder first, and then copy files/folders from "all platforms" folder after that to eliminate the moving folder step. Thank you!
Here is the diagram for the way I did:
Windows: Data folder, exe file
Mac: app file
Copy all of them to a folder following platform --> Check platform --> If Windows, moves AssetBundle inside Data || If Mac, move AssetBundle to Contents folder in app.
Please sign in to leave a comment.