Closed nathansnelgrove closed 2 years ago
good catch. installed yesterday. i can confirm yeah. Monterey stopped embedding PHP, which the Workflow (and most of the ones built in PHP) uses.
for the time being, you can edit the Workflow and point PHP to its homebrew
or whatever install path you use.
i'll see what i can do in the following days. but it may be tricky. already homebrew
uses different locations whether you're on an Intel or a Apple Silicon Mac :zzz:
Man, that's a sucky problem to work through as a developer. Thanks man, much appreciated. I'll point to the Brew path I use and I guess I'll go from there! Best of luck with this.
for own reference: https://www.alfredapp.com/blog/releases/alfred-4-6-ready-for-macos-monterey/
update incoming đī¸đī¸đī¸
PHP8, Monterey.
This is super exciting! I can abandon my terribly hacky Keyboard Maestro shortcut! Thanks.
On Dec 10, 2021, at 10:41 AM, G. @.***> wrote:
update incoming đī¸đī¸đī¸
PHP8, Monterey.
â You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/godbout/alfred-time/issues/46#issuecomment-991076177, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4OZM6NZYS5D6FK4GIHDXDUQINQ5ANCNFSM5G2SG2WQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
that sounds like a very terrible hack yes.
i haven't touched Alfred Workflows or PHP for a whole so maybe i fucked every up. let me know if it's the case. the update should be out in ten min. will ping. you.
https://github.com/godbout/alfred-time/releases/tag/4.3.0
man i hope it works. else i'll stop being a developer forever (but just for a week).
I am so grateful for your work on this. Unfortunately, I can't seem to trigger the "time" command. Tried uninstalling and reinstalling. Not sure what I've done, but it's probably something dumb.
FWIW, I tried updating PHP via Brew to PHP 8.1.0, and still can't run the Time command from Alfred. Again, it's probably something local to my machine. I probably need to reboot or something weird like that. Apologies if it's that easy and I'm about to send you down a rabbit hole.
currently up to PHP8.0, not 8.1. Alfred Time uses some other packages that are not updated for 8.1 yet. so it's 7.4 or 8.0.
yeah, that's gonna be the issue with PHP unfortunately. you gonna the right version to run that shit âšī¸
Of course! Fixed. Installed PHP 8 via Brew, and copied and pasted this script in place yours:
export PATH="/usr/local/opt/php@8.0/bin:${PATH}"
Everything works now. Sir, I owe you a beer. Several beers. Or coffee, or money, or whatever your preference is really. Thanks for your work on this. It makes my day substantially easier.
well the fact that you're having a better thanks to what i'm doing is all i need đī¸ just kidding. yeah a couple of beers would be nice đī¸đī¸đī¸
alright, enjoy! and thanks for having taken the time to report. will close that one. see you at the next.
If you're ever in Toronto or the Hamilton area of Canada, give me a holler and I'll get you those beers. Cheers!
i didn't know Canadians could use the software. i'll have to update the license.
Thanks from Germany, guys â due to your guidance I managed to get Time running under Monterey again!
great! the pleasure is @nathansnelgrove's. danke for the coffee. tomorrow's is on you.
Hey! Wondering if you have upgraded to Monterey yet? The Time shortcut doesn't work for me, unfortunately â not sure what the problem is. I thought maybe it was a PHP compatibility problem, but I've got php 7.3.1 installed on my Mac, so that's not it.
Any thoughts?