Mohelm97 / screenrecorder

A simple screen recorder app designed for elementary OS.
GNU General Public License v3.0
59 stars 15 forks source link

Use GLib.AppInfo to launch default app #21

Closed danirabbit closed 5 years ago

danirabbit commented 5 years ago

https://github.com/Mohelm97/screenrecorder/blob/303c0ed0c4006b68a80c57b4599d25b55054b73c/src/Application.vala#L53

This can be done by using GLib.AppInfo.launch_default_for_uri instead of with a command

peteruithoven commented 5 years ago

Example: https://stackoverflow.com/questions/54886411/open-file-with-default-application-from-vala/54895789#54895789

Mohelm97 commented 5 years ago

Fixed 7faf4df8b2c8e512f2e89a0bbe6a6e1424127c1d @danrabbit @peteruithoven Thanks a lot I feel so dump :D