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

Run programs to update desktop integration #27

Closed
probonopd opened this issue Dec 7, 2018 · 1 comment
Closed

Run programs to update desktop integration #27

probonopd opened this issue Dec 7, 2018 · 1 comment
Labels
enhancement New feature or request PRs welcome

Comments

@probonopd
Copy link
Member

AppImageCommunity/appimaged#50 from @rszibele needs to be ported over here.

It checks if the following programs are available in the users $PATH:

  • update-desktop-database
  • update-mime-database
  • gtk-update-icon-cache
  • kbuildsycoca5

Based on the availability of each program, it executes each of them within a thread if more than 3 seconds have passed since the last AppImage was added. If another AppImage is dropped into one of the watched directories while still within the 3 seconds, then the timer is reset. So if suddenly a user drops 20 AppImages into the directory, the update will only be executed once.

@TheAssassin
Copy link
Member

Duplicate of #29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PRs welcome
Projects
None yet
Development

No branches or pull requests

2 participants