start the metaplugin tool

This commit is contained in:
idk
2022-03-26 00:21:20 -04:00
parent c45bef67e7
commit 56555aa7a3
2 changed files with 28 additions and 0 deletions

1
.gitignore vendored
View File

@ -24,3 +24,4 @@ snowflake-zip-win/
snowflake-zip/
snowflake.exe
snowflake.zip
i2p.plugin.native

View File

@ -0,0 +1,27 @@
package main
import (
// "archive/zip"
// "runtime"
. "i2pgit.org/idk/i2p.plugin.native"
)
var pc PluginConfig
var cc ClientConfig
// The goal here is to create a plugin which can be installed which has no contents, but contains update
// information for other plugins, i.e.
//
// i2p.plugins.tor-manager-amd64
//
// would contain meta-information that matches the $OS and $ARCH of the runtime machine
// which would then update at the first opportunity, downloading the latest version of the plugin
// for the appropriate architecture with the correct binaries. It doesn't save me any work :) but
// it should be nice for the user to be able to install the plugin without having to comb through
// OS/ARCH pairs they don't really give a damn about.
func main() {
}