gyng / save-in

WebExtension for saving media, links, or selections into user-defined directories
MIT License
199 stars 25 forks source link

small fix request: on Linux, Chrome, shortcuts are saved with the wrong extension ('txt' instead of 'desktop') #161

Open nestukh opened 3 years ago

nestukh commented 3 years ago

hello there

on Linux, Chrome, urls are saved with the wrong extension: in link.txt files, not link.desktop files. I've selected the Freedesktop .desktop format, but the extension is wrong. Yes I can rename them from link.txt to link.desktop, and they work as intended. So things work well for the most part.

To be precise I'm using ungoogled chromium 84.0.4147.135 on Debian Buster, with developer options activaded and the chromium-web-store extension, and latest release 3.5.1 of Save-In.

gyng commented 3 years ago

Took a quick look. I'm passing in the correct filename (with extension) to Chrome's web extension APIs, so it's probably not a quick fix.

nestukh commented 3 years ago

Those Chome's web extension APIs are not so well extended then! :) I thank you for looking into the bug, I know it's a niche user case, I hope you'll find a solution eventually