superunitybuild / buildtool

A powerful automation tool for quickly and easily generating builds with Unity.
MIT License
1.19k stars 121 forks source link

The ability to change build name #108

Closed MaroLFC closed 1 year ago

MaroLFC commented 1 year ago

Is there anyway to change build name other than it being the product name?

robinnorth commented 1 year ago

Hi @MaroLFC, what do you mean by 'change build name'? If you mean giving the release type a different label in the SuperUnityBuild UI to the product name, you can use 'Type Name' to set this:

image
MaroLFC commented 1 year ago

I mean i want to change the exported apk or abb name. Now its always equal to the product name and i want to change that.is it possible currently?

robinnorth commented 1 year ago

Ah, I see. Currently this isn't possible with the GUI, but you could use a ScriptRunner build action to rename the built APK or ABB after the build has run.

RobProductions commented 1 year ago

For anyone keeping up with this issue, though the original PR was closed due to being stale, it was actually split into several smaller PRs and notably #116 has a working solution which will fulfill this request. If you want it earlier, you can grab my fork which I'm now using as an extension for experimental features.

It lets you customize the binary name or sync it to the Product Name, and I took it one step further to let you sync Product Name, Company Name, or Bundle Identifier with your Project Settings too. I might try to get those new enhancements submitted as PRs as well once everything seems stable :)

robinnorth commented 1 year ago

This has been implemented in #116, thanks to @RobProductions 🎉