unbelievableflavour / snaptastic

A snap installer for Elementary OS
GNU General Public License v3.0
39 stars 4 forks source link

Fails to handle snap URLS #69

Closed Rosselman closed 5 years ago

Rosselman commented 5 years ago

When I try to open a Snap link from my browser (Chrome), for example a Snapcraft install, I get a snap store prompt instead of Snaptastic. I already tried to run sudo update-desktop-database /usr/share/applications and it didn't fix the problem. screenshot from 2019-03-03 06-20-01

unbelievableflavour commented 5 years ago

Did you install Snaptastic from App Center? You shouldn't have to run that command if installed through App Center.

Rosselman commented 5 years ago

Yes, it's installed from the App Center. I only tried the command because I was getting that prompt already.

unbelievableflavour commented 5 years ago

Are you maybe on an older version of elementary os? Because for me it works fine :/

w0xel commented 5 years ago

Had the same issue, solved by going to the Firefox settings:

firefox_snaptastic

The setting was at Use Handler for snap:// URIs (default). Manually setting to Use Snaptastic did the trick, which resulted in the same prompt as OP had. I guess this happens when you already tried to open the snap-store link and just pressed OK when prompted for the default action to happen. (Because Firefoxs default is Always Ask).

I guess you can close this, but please add a note to the README.md

unbelievableflavour commented 5 years ago

Added a note to README.md. Closing this.