Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use alfred_workflow_data to save most used symbols #9

Open
vitorgalvao opened this issue Jan 1, 2023 · 1 comment
Open

Use alfred_workflow_data to save most used symbols #9

vitorgalvao opened this issue Jan 1, 2023 · 1 comment
Labels
enhancement New feature or request whenever Whenever I'm bored and I need something small to work on.

Comments

@vitorgalvao
Copy link
Contributor

Because the database tracking the most used symbols is inside the workflow’s directory, it gets deleted with every workflow update and usage is lost.

The way around it is to mkdir -p "${alfred_workflow_data}" then have the database at "${alfred_workflow_data}/user.sqlite3" (variables documentation).

Unless you’re doing it that way as a design choice. In which case, feel free to close.

@adamkiss
Copy link
Owner

adamkiss commented Jan 2, 2023

@vitorgalvao Thank you for the information - it was not a design choice as such, and therefore I will look into properly keeping the workflow data through updates. At the same time, I consider this workflow at this moment feature complete, and, as far as I can tell, properly working, thus it's not a huge priority for me.

Unless you consider it a "bad mark" or such - being a part of the official workflow gallery - I'll be marking this as "whenever I'm bored and want to work on some small improvement to a working thing."

@adamkiss adamkiss added whenever Whenever I'm bored and I need something small to work on. enhancement New feature or request labels Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request whenever Whenever I'm bored and I need something small to work on.
Projects
None yet
Development

No branches or pull requests

2 participants