deanishe / alfred-similar-image-search

Google Image searches based on local files via Alfred
MIT License
49 stars 7 forks source link

Fixed for any version of alfred #5

Closed tucomel closed 4 years ago

tucomel commented 4 years ago

Fixed to work with Alfred 4

deanishe commented 4 years ago

Thanks! Should be tell application id "com.runningwithcrayons.Alfred". Then it won't need updating again for Alfred 5+.

tucomel commented 4 years ago

I didn't know the name of Alfred's package <3 good to know

deanishe commented 4 years ago

Yeah, Alfred 4 now keeps its stuff in unversioned folders (e.g. ~/Library/Application Support/Alfred instead of ~/Library/Application Support/Alfred X), so it should no longer be necessary to update workflows to work with newer versions (and break them for older versions). On the AppleScript/JXA side, that means calling Alfred by its bundle ID, not its name, seeing as the app name still has the version number in it.