2021-06-25 19:09:54 -04:00
|
|
|
I2P native plugin generation tool
|
|
|
|
=================================
|
|
|
|
|
2021-06-25 20:36:14 -04:00
|
|
|
I wrote this way faster than I documented it. Shocking, right?
|
|
|
|
|
|
|
|
This is a handy little tool for assembling I2P plugins when those
|
|
|
|
plugins don't have a clean way to interface with the JVM, or just don't
|
|
|
|
need one. Think of it a little like `checkinstall` but for I2P Plugins.
|
|
|
|
Right now it mostly works, and it's pretty cleanly put together.
|
|
|
|
|
2021-06-25 20:36:56 -04:00
|
|
|
There are some examples in the Makefile for now.
|
|
|
|
|
2021-06-25 20:36:14 -04:00
|
|
|
Here's a copy of the usage while I work on a better README.md:
|
|
|
|
|
2021-06-25 22:07:59 -04:00
|
|
|
```markdown
|
2021-07-18 13:16:44 -04:00
|
|
|
Usage of i2p.plugin.native:
|
2021-06-25 19:09:54 -04:00
|
|
|
-author string
|
|
|
|
Author
|
|
|
|
-autostart
|
|
|
|
Start client automatically (default true)
|
|
|
|
-clientname string
|
|
|
|
Name of the client, defaults to same as plugin
|
|
|
|
-command string
|
|
|
|
Command to start client, defaults to $PLUGIN/exename
|
2021-06-27 18:42:51 -04:00
|
|
|
-commandargs string
|
|
|
|
Pass arguments to command
|
2021-06-25 19:09:54 -04:00
|
|
|
-consoleicon string
|
|
|
|
Icon to use in console for Web Apps only. Use icondata for native apps.
|
|
|
|
-consolename string
|
|
|
|
Name to use in the router console sidebar
|
|
|
|
-date string
|
|
|
|
Release Date
|
|
|
|
-delaystart string
|
2021-06-28 13:57:14 -04:00
|
|
|
Delay start of client by seconds (default "1")
|
2021-06-25 19:09:54 -04:00
|
|
|
-desc string
|
|
|
|
Plugin description
|
|
|
|
-exename string
|
|
|
|
Name of the executable the plugin will run, defaults to name
|
|
|
|
-icondata string
|
|
|
|
Path to icon for console, which i2p.plugin.native will automatically encode
|
|
|
|
-installonly
|
|
|
|
Only allow installing with this plugin, fail if a previous installation exists
|
|
|
|
-key string
|
|
|
|
Key to use(omit for su3)
|
|
|
|
-license string
|
|
|
|
License of the plugin
|
|
|
|
-max string
|
|
|
|
Maximum I2P version
|
|
|
|
-max-jetty string
|
|
|
|
Maximum Jetty version
|
|
|
|
-min string
|
|
|
|
Minimum I2P version
|
|
|
|
-min-java string
|
|
|
|
Minimum Java version
|
|
|
|
-min-jetty string
|
|
|
|
Minimum Jetty version
|
|
|
|
-name string
|
|
|
|
Name of the plugin
|
|
|
|
-nostart
|
|
|
|
Don't automatically start the plugin after installing
|
|
|
|
-nostop
|
|
|
|
Disable stopping the plugin from the console
|
|
|
|
-res string
|
2021-06-25 20:31:37 -04:00
|
|
|
a directory of additional resources to include in the plugin
|
2021-06-25 19:09:54 -04:00
|
|
|
-restart
|
|
|
|
Require a router restart after installing or updating the plugin
|
|
|
|
-signer string
|
|
|
|
Signer of the plugin
|
|
|
|
-stopcommand string
|
|
|
|
Command to stop client, defaults to killall exename
|
2021-06-27 18:42:51 -04:00
|
|
|
-targetos string
|
|
|
|
Target to run the plugin on (default "linux")
|
2021-06-25 19:09:54 -04:00
|
|
|
-updateonly
|
|
|
|
Only allow updates with this plugin, fail if no previous installation exists
|
|
|
|
-updateurl string
|
|
|
|
The URL to retrieve updates from, defaults to website+pluginname.su3
|
|
|
|
-version string
|
|
|
|
Version of the plugin
|
|
|
|
-website string
|
|
|
|
The website of the plugin
|
|
|
|
```
|