Files
Akilan Selvacoumar ae5f1d2fd7 New features (#110)
* added upload status

* added changes for progress bar with more logs and bug fixes, Documentation yet to be added

* huge changes that need more doucmenting

* added possibility to get profile using NodeID

* added fix profile listing user profile information

* removed profile image from the explore reult struct

* saving current changes

* added filter to search based on NodeID

* Monday bug fixing

* updates to the profile

* changes for tracing the blockchain profile image not shown

* added condition to ensure TAG is not sent and removed debug prints

* updated webapi docs
2023-06-28 00:38:17 +01:00
..
2023-06-28 00:38:17 +01:00
2023-06-28 00:38:17 +01:00

System

This submodule defines how files and plugins are managed and updated.

Package Files

Package files are ZIP files containing a file info.ini that describes which actions to take. They provide updates and installation of individual files, plugins, or entire clients.

Actions may specify target files or folders. Such paths may use virtual paths that will be automatically resolved.

%plugin% = Plugin folder
%data%   = Data folder

Sample Package File

A sample package file TextViewer.zip looks like this:

│   info.ini
│
└───TextViewer
        Microsoft.Extensions.DependencyInjection.Abstractions.dll
        Peernet.Browser.Plugins.TextViewer.deps.json
        Peernet.Browser.Plugins.TextViewer.dll
        Peernet.SDK.dll

The info.ini file:

[main]
name = "Text Viewer Plugin"
organization = "Peernet s.r.o."
architecture = "windows/amd64"

[action1]
action = extract
source = TextViewer
target = "%plugin%"

Security Implications

The actions currently only allow to extract any arbitrary file to the local disk. Later, the destination directory will be limited to the Peernet installation directory.

Signatures for packages are not implemented yet. They will be added in a subsequent version.

Target OS

It is up to the client to select and download the appropriate packages.