Skip to content
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

JPEGmini is not installed #187

Closed
IsmailM opened this issue Feb 28, 2021 · 1 comment
Closed

JPEGmini is not installed #187

IsmailM opened this issue Feb 28, 2021 · 1 comment

Comments

@IsmailM
Copy link

IsmailM commented Feb 28, 2021

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
};

@JamieMason
Copy link
Owner

This should hopefully be fixed in 3.0.7

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

No branches or pull requests

2 participants