path: root/tools/
diff options
authorWilliam Wilgus <>2020-08-17 11:05:26 -0400
committerWilliam Wilgus <>2020-08-17 22:17:15 -0400
commit889bcc0f763fcb31b9ac66a23199ce31746664ed (patch)
treeab566a98dfb4bad3812c2ba3a124196b223d7618 /tools/
parent96e1bb655651ad7e0d5bd7841ce5b4642e9458dc (diff)
WIP open_plugins.rock viewer
OP allows you to use Open With.. to call plugins with parameters called directly it acts as a shortcut list for plugins open_plugins.rock interfaces with the open_plugin core When opened directly it acts as a viewer for the plugin.dat file this allows you to edit the paths and parameters for core shortcuts as well as your added plugins If a plugin is supplied to the viewer it is added to the dat file If instead the plugin has previously been added then it is run with the parameters you previously supplied ----------------------------------------------------------------------------- Added export to .opx files this allows shortcuts to plugins with parameters to be called from the file browser Change-Id: Ib8b05a60b049fb1d5881031ca09a07e3307d375a
Diffstat (limited to 'tools/')
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/ b/tools/
index ce225139ef..4b15771333 100755
--- a/tools/
+++ b/tools/
@@ -518,6 +518,12 @@ sub buildzip {
copy("$ROOT/apps/tagnavi.config", "$temp_dir/");
copy("$ROOT/apps/plugins/disktidy.config", "$temp_dir/rocks/apps/");
+ if(-e "$temp_dir/rocks/viewers/open_plugins.rock") {
+ my $cwd = getcwd();
+ copy("$cwd/apps/plugins/open_plugins.opx", "$temp_dir/rocks/apps/open_plugins.opx") or
+ print STDERR "Copy failed: $cwd/apps/plugins/open_plugins.opx $!\n";
+ }
if($bitmap) {
copy("$ROOT/apps/plugins/sokoban.levels", "$temp_dir/rocks/games/sokoban.levels"); # sokoban levels
copy("$ROOT/apps/plugins/snake2.levels", "$temp_dir/rocks/games/snake2.levels"); # snake2 levels