pre and post build functions script for all platforms

Due to issues with postbuildprocess script on windows please find a link to free editor script for all platforms which replicates build and build -run buttons, calling a pre build and post build function and valid build path, please let me know of any improvements as I hope sure this will help many, cheers Jon

http://jon-martin.com/?p=309

thanks.
Unity missed that.

pre build is sweet, thanks :slight_smile:

don’t get the part on postbuild though, the problem there normally is that 99.9% of the people forget that the osx ones will not work cause you have neither bash, perl nor applescript but that windows expects batch (that or you have to install per for example … would be the easiest for crossplatform scripts actually)

Thanks once again dreamora, you’re quite right I got so far down that route and realised that it would need to call a batch file or need to install perl etc on all our other dev machines, couldn’t get a batch file to execute when named PostbuildProcess though, so after realising loads of other (mainly windows) users had similar problems and that Aras had suggested back in 2008/9 this would be the way to go, slung this together. From the two functions I guess you could execute any app, batch file, perl etc with arguments, hence the two functions for completeness.

In my case the reason for it was that i’ve been messing around with tripleDES/MD5 php-c# serial protection/trial for our standalone apps and wanted to execute a clean licence function, and paste it into the build folder on build.