I already created a batch file to create a new ZXP file, but I also wanted something that would just let me select a new script and then add that as a button and reinstall the updated extension. I did this by updating the extension with an extra button to add a new script. This would then edit the HTML file, the main.js file and proceed to run a bat file that uninstalls and reinstalls the extension. The user is then prompted to restart Photoshop to see the changes.
We don't use this very often, but it was mainly a personal challenge to get it working. I can imagine we use this for the user to reinstall a new extension version or maybe even let users create a separate tab with their own tools.
No comments:
Post a Comment