gharlan / alfred-github-workflow

GitHub Workflow for Alfred
MIT License
2.89k stars 147 forks source link

[Feature request] Any plans to port this to Alfred 4? #110

Closed AndreasJacobsen closed 3 years ago

AndreasJacobsen commented 5 years ago

This workflow worked nicely in Alfred 3, but with Alfred 4 I can't login. gh > login show no option to log inn. Pressing "Update" does nothing either. image image

gharlan commented 5 years ago

Maybe try re-installing: https://github.com/gharlan/alfred-github-workflow/issues/108

TyGuo commented 5 years ago

Hi there, the same thing occurred. Re-installing neither the Alfred nor this workflow helped.

kadaliao commented 5 years ago

try gh > delete database and gh > login, it works for me.

lxynox commented 5 years ago

Could be something messed up with the workflow's data directory, try removing ~/Library/Application Support/Alfred [version]/Workflow Data/[bundle id].

hytor-yang commented 5 years ago

Could be something messed up with the workflow's data directory, try removing ~/Library/Application Support/Alfred [version]/Workflow Data/[bundle id].

@AndreasJacobsen You can simply fix the path problem with any text editor. workflow.php#L52

- $dataDir = getenv('HOME').'/Library/Application Support/Alfred 3/Workflow Data/'.self::BUNDLE;
+ $dataDir = getenv('HOME').'/Library/Application Support/Alfred/Workflow Data/'.self::BUNDLE;

Github Enterprise may need further change though.

MiguelAraCo commented 4 years ago

I tried reinstalling, deleting the Workflow Data/[bundle id] directory and modifying the workflow.php file but it still doesn't work.

gharlan commented 4 years ago

Hmm, I don't know what I can do here, because the workflow is working for me without any problems with Alfred 4.

tuxity commented 4 years ago

Same problem on clean installation, I also did a > update and somehow got a infinite loop in alfred had to kill the process and remove the workflow

ea2809 commented 4 years ago

After a lot of tries a month ago... I reinstalled it today, after updating mac os and Alfred and it seems to work again perfectly.

sami-raad-kr commented 4 years ago

Tried few things and didn't work. I removed the workflow and restarted my machine, then reinstalled it. That helped!

stdavis commented 3 years ago

It works for me on Alfred 4. @AndreasJacobsen I think that you could probably close this issue.