- Home /
Script to Zip files on Build?
I am trying to see if there is a way to get builds to automatically zip when you select build. I have looked at the following pages but cant make heads or tails of what to do.
https://docs.unity3d.com/Manual/BuildPlayerPipeline.html
and
https://gist.github.com/radiatoryang/b65e9c4807a64987aba2
I have looked over the scripts and tried to understand them but feel crippled with a lack of understanding.
I just want to go to build settings select my scene and platform (PC,MAC & Linux Standalone targeting windows x86_64) and select build with the script then handling the compression to zip everything into a file I can unzip later as needed.
As a bonus it would be great to change the .zip to some .custom file type but that's less important.
something like CompressDirectory( buildPath, path + "/" + filename + ".custom" );
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Keep file structure on build. 1 Answer
Build API CompressWithLz4HC doesn't work 0 Answers
Texture compression not working 1 Answer
Game Window Size Not Set/Changing 2 Answers