Handle the .r2s extension for visual slides ##visual

This commit is contained in:
Sergi Àlvarez i Capilla 2021-10-27 12:35:06 +02:00
parent e9765d5ec8
commit 9ae0675c2e
2 changed files with 3 additions and 0 deletions

View File

@ -1285,6 +1285,9 @@ R_API bool r_core_run_script(RCore *core, const char *file) {
free (shell);
}
ret = 1;
} else if (!strcmp (ext, "r2s")) {
r_core_visual_slides (core, file);
ret = 1;
} else if (!strcmp (ext, "pl")) {
char *cmd = cmdstr ("perl");
r_lang_use (core->lang, "pipe");