How can I create a launcher for an AppImage when the file name keeps changing?

0
3
Asked By ChillPanda42 On

I'm looking for a way to create a launcher for my AppImage file so I don't have to manually open it from the Applications folder every time. The catch is that this AppImage updates frequently, at least once a week, and the file name changes each time—it's not just 'cursor.AppImage'; it's like 'cursor-v14748.AppImage'. I really need to keep it in the Applications folder since another program depends on it being there. Is there a method to create a launcher that works for any file called 'cursor*.AppImage'?

1 Answer

Answered By ScriptMaster99 On

Have you tried using a tool like Gear Lever? It might be able to handle this for you. If that doesn't work, you could write a bash script since `.desktop` files are just plain text. You can set up a systemd service to watch the Applications directory for changes and execute your script whenever the filename updates. Seems like a reliable solution!

UserFriendlyGizmo -

I was kind of hoping for a regex solution that just launches any file beginning with 'cursor' and ending with '.AppImage'.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.