-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong path used to launch AppleScript scripts #163
Comments
Thanks @nicolinuxfr, am I right that you've followed the manual installation? This is an oversight on my part because the osascript directory is needed as well as the binary. Could you confirm though incase I'm on the wrong track? Thanks a lot. |
Nope, I used the recommended way : I tried with and without |
oh...oh dear 😄 I am on a different machine now to the one I developed the new version in so I will install it here and see if I can reproduce it. |
this is the problem line ImageOptim-CLI/src/applescript.ts Line 14 in 3faa790
I think using https://github.com/nexe/nexe to create a self contained executable is causing |
Great news if you can fix it easily. :-) |
I seem to have it working locally, will release soon. |
Please give 2.0.2 a try and reopen if there are still issues, thanks. |
Works great with 2.0.2, thanks for the quick fix ! 👍 |
you're welcome Nicolas, it was a big one so it needed sorting ASAP 😄 |
Types of Changes
What types of changes does your issue require? Put an
x
in all the boxes that apply:Description
After installing the latest version of ImageOptim using npm, I have the following error when I try to activate JPEG mini :
I checked, and indeed, I have no
osascripts
folder inside my home folder.Setup
macOS High Sierra 10.13.4
npm 5.10.0
node 10.1.0
JPEGmini standard 2.2.1
The text was updated successfully, but these errors were encountered: