summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-08-17 11:05:26 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2020-08-17 22:17:15 -0400
commit889bcc0f763fcb31b9ac66a23199ce31746664ed (patch)
treeab566a98dfb4bad3812c2ba3a124196b223d7618 /tools
parent96e1bb655651ad7e0d5bd7841ce5b4642e9458dc (diff)
downloadrockbox-889bcc0f763fcb31b9ac66a23199ce31746664ed.tar.gz
rockbox-889bcc0f763fcb31b9ac66a23199ce31746664ed.zip
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')
-rwxr-xr-xtools/buildzip.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index ce225139ef..4b15771333 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -518,6 +518,12 @@ sub buildzip {
518 copy("$ROOT/apps/tagnavi.config", "$temp_dir/"); 518 copy("$ROOT/apps/tagnavi.config", "$temp_dir/");
519 copy("$ROOT/apps/plugins/disktidy.config", "$temp_dir/rocks/apps/"); 519 copy("$ROOT/apps/plugins/disktidy.config", "$temp_dir/rocks/apps/");
520 520
521 if(-e "$temp_dir/rocks/viewers/open_plugins.rock") {
522 my $cwd = getcwd();
523 copy("$cwd/apps/plugins/open_plugins.opx", "$temp_dir/rocks/apps/open_plugins.opx") or
524 print STDERR "Copy failed: $cwd/apps/plugins/open_plugins.opx $!\n";
525 }
526
521 if($bitmap) { 527 if($bitmap) {
522 copy("$ROOT/apps/plugins/sokoban.levels", "$temp_dir/rocks/games/sokoban.levels"); # sokoban levels 528 copy("$ROOT/apps/plugins/sokoban.levels", "$temp_dir/rocks/games/sokoban.levels"); # sokoban levels
523 copy("$ROOT/apps/plugins/snake2.levels", "$temp_dir/rocks/games/snake2.levels"); # snake2 levels 529 copy("$ROOT/apps/plugins/snake2.levels", "$temp_dir/rocks/games/snake2.levels"); # snake2 levels