Skip to content

Conversation

@danielbayley
Copy link

See formula here.

@creold
Copy link
Owner

creold commented May 19, 2025

Hi @danielbayley,
Downloading the JSX script repository via Homebrew is an interesting idea. I have a few thoughts:

  1. It may not be safe to run brew install. For example, it can delete user files. Since the source code is in your repository, I can't control it, nor can I guarantee for my users that no malicious code will be introduced in the future. I could assure users that the code was safe if it was in my repository.

  2. JSX scripts are downloaded to the Presets folder of the latest version of Adobe Illustrator, but there may be multiple folders from different Adobe versions. (Potential improvement)

  3. If a local file is changed or a JSX update is released on GitHub, the formula will not redownload the files but will show that they are already installed. The formula might suggest deleting old files and uploading new ones. (Potential improvement)

@danielbayley
Copy link
Author

danielbayley commented May 19, 2025

Hi Sergey,

  1. … Since the source code is in your repository, I can't control it, nor can I guarantee for my users that no malicious code will be introduced in the future. I could assure users that the code was safe if it was in my repository.

You’re more than welcome to take my code for this and maintain your own tap—the more maintenance I can offload, the better! I could then mirror it back into my general Adobe tap…

  1. JSX scripts are downloaded to the Presets folder of the latest version of Adobe Illustrator, but there may be multiple folders from different Adobe versions. (Potential improvement)

Yeah it’s a possibility, but is it common for people to actually use multiple versions of Illustrator? I figured either people are on a CC subscription, in which case they’ll be incentivised to take advantage of the latest updates, or they’ll be clinging to an old pre-subscription CSx version they already paid for, before CC came in… So in practice, I didn’t think it was worthwile to maintain the extra code for that edge case.

  1. If a local file is changed or a JSX update is released on GitHub, the formula will not redownload the files but will show that they are already installed. The formula might suggest deleting old files and uploading new ones. (Potential improvement)

Even though you don’t have proper SemVer releases, the way I have setup the livecheck block will show an available update for any new commits, for commands like brew update/outdated, or brew livecheck [--debug]…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants