Steps To Reproduce The Error
Run imageoptim with the --jpegmini option.
Expected Behaviour
JPEG mini should run...
Actual Behaviour
I see the following error message:
⮀ imageoptim --jpegmini figures/live_used/**/*jpg
! JPEGmini is not installed (https://itunes.apple.com/us/app/jpegmini/id498944723)
⮀ which jpegmini
jpegmini not found
⮀ ls /Applications/JPEGmini\ Pro.app
Contents
Version Numbers or N/A
ImageOptim CLI Version: 3.0.2
ImageOptim.app: 1.8.8
JPEGmini Pro.app: 3.1.0
Help Needed
I brought JPEGmini from https://www.jpegmini.com/ - since the app store link in the help text does not open in the UK...
Looking inside /Applications/JPEGmini\ Pro.app/Contents/Info.plist, I see that the bundle ID is:
<key>CFBundleIdentifier</key>
<string>com.beamr.jpegminipro.app</string>
From the code base, I see that it expects one of the following (which does not include the above):
|
export const JPEGMINI: IApp = { |
|
bundleId: 'com.icvt.JPEGmini', |
|
name: 'JPEGmini', |
|
supports: supports.jpegmini |
|
}; |
|
|
|
export const JPEGMINI_RETAIL: IApp = { |
|
bundleId: 'com.icvt.JPEGmini-retail', |
|
name: 'JPEGmini', |
|
supports: supports.jpegmini |
|
}; |
|
|
|
export const JPEGMINI_LITE: IApp = { |
|
bundleId: 'com.icvt.JPEGminiLite', |
|
name: 'JPEGmini Lite', |
|
supports: supports.jpegmini |
|
}; |
|
|
|
export const JPEGMINI_LITE_RETAIL: IApp = { |
|
bundleId: 'com.icvt.JPEGminiLite-retail', |
|
name: 'JPEGmini Lite', |
|
supports: supports.jpegmini |
|
}; |
|
|
|
export const JPEGMINI_PRO: IApp = { |
|
bundleId: 'com.icvt.JPEGmini-Pro', |
|
name: 'JPEGmini Pro', |
|
supports: supports.jpegmini |
|
}; |
|
|
|
export const JPEGMINI_PRO_RETAIL: IApp = { |
|
bundleId: 'com.icvt.JPEGmini-Pro-retail', |
|
name: 'JPEGmini Pro', |
|
supports: supports.jpegmini |
|
}; |
|
|
Steps To Reproduce The Error
Run
imageoptimwith the--jpegminioption.Expected Behaviour
JPEG mini should run...
Actual Behaviour
I see the following error message:
Version Numbers or N/A
ImageOptim CLI Version: 3.0.2
ImageOptim.app: 1.8.8
JPEGmini Pro.app: 3.1.0
Help Needed
I brought JPEGmini from https://www.jpegmini.com/ - since the app store link in the help text does not open in the UK...
Looking inside
/Applications/JPEGmini\ Pro.app/Contents/Info.plist, I see that the bundle ID is:From the code base, I see that it expects one of the following (which does not include the above):
ImageOptim-CLI/src/constants.ts
Lines 68 to 103 in e65bb4a