We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 303c0ed commit 7faf4dfCopy full SHA for 7faf4df
src/Application.vala
@@ -50,8 +50,9 @@ namespace ScreenRecorder {
50
return;
51
}
52
try {
53
- Process.spawn_command_line_async ("xdg-open \"%s\"".printf (settings.get_string ("folder-dir")));
54
- debug("xdg-open \"%s\"".printf (parameter.get_string ()));
+ File records_folder = File.new_for_path (settings.get_string ("folder-dir"));
+ AppInfo.launch_default_for_uri (records_folder.get_uri (), null);
55
+ debug("launch_default_for_uri %s".printf (parameter.get_string ()));
56
} catch (SpawnError e) {
57
GLib.warning (e.message);
58
0 commit comments