samverschueren / alfred-updater Goto Github PK
View Code? Open in Web Editor NEWAlfred workflow updater
License: MIT License
Alfred workflow updater
License: MIT License
Just like in alfred-notifier, we have to restart Alfred with the commandopen -n -a "Alfred 3"
so it reloads the workflows and removes the notification message.
Do you guys hit the same issue when alfred-updater runs?
On my mac, it creates a second instance (and a third etc every time it runs).
I'm on macOS Mojave 10.14.3 with node 11.10.1 and alfred latest version 3.8.1.
The bug was there for quite some time but I just discovered alfred-updater is responsible.
Is there something to configure?
Thx.
Demo: https://drive.google.com/open?id=1xAU0JnquOb93_6ESCyQqR-OGZww9Kl-U
getting this error:
โฏ sudo npm install -g alfred-updater
> [email protected] postinstall /usr/local/lib/node_modules/alfred-updater
> alfred-link
Error: Permission denied to read Alfred preferences at location /Users/jappy/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist
at module.exports (/usr/local/lib/node_modules/alfred-updater/node_modules/resolve-alfred-prefs/index.js:44:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `alfred-link`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jappy/.npm/_logs/2020-11-25T13_01_40_551Z-debug.log
I guess it would be nice if the notification showed what workflows got updated. Sometimes you see that it updated one or two, but then you want to know which ones it did update so you could check them out for new features or something. We should test if all that information could be showed in the notification.
It doesn't seem to work with Alfred 5 ๐ค
From testing it looks like the quit && restart part doesn't work.
If I try the same command in terminal pkill Alfred && open -n -a 'Alfred 5'
I get the same behaviour, but if I do those commands separately it does work.
Hi,
thanks for the update and closing #5. I updated alfred-updater and still get error.
Output:
ENOENT: no such file or directory, open '~/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/alfred-github/package.json'
Is it something wrong with alftred-github workflow or with updater?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.