benknight / hue-alfred-workflow

An Alfred workflow for controlling Philips Hue lights.
367 stars 34 forks source link

Add workflow Info.plist file from latest release #62

Closed varenc closed 2 years ago

varenc commented 2 years ago

Copied this Info.plist from the latest release and then included my Alfred 4 compatibility fix described in #61

Including the Info.plist allows the workflow to be recreated just from the GitHub repo and allows for tracking and observing the changes to it. As well as giving users the ability to submit useful PRs!

Here's a diff of the only change I made between what I'm submitting and the latest release. But of course that's good to confirm.

*** info_old.plist  2021-08-19 13:07:01.000000000 -0400
--- info.plist  2021-11-23 22:19:29.000000000 -0500
***************
*** 247,251 ****
    $hex = `./colorpick -startColor ffffff -mode 6`;
    $action = str_replace('<color>', $hex, $action);
!   return `osascript -e 'tell application "Alfred 3" to search "hue $action"'`;
  }

--- 247,251 ----
    $hex = `./colorpick -startColor ffffff -mode 6`;
    $action = str_replace('<color>', $hex, $action);
!   return `osascript -e 'tell application "Alfred" to search "hue $action"'`;
  }
benknight commented 2 years ago

I included this change in the latest release (3.0.7)