NanaZip icon indicating copy to clipboard operation
NanaZip copied to clipboard

Plugin Support

Open hyblocker opened this issue 3 years ago • 7 comments

One of the major compelling features 7-Zip offers is the ability to extend it with 3rd party plugins. Given NanaZip is a fork of 7-Zip, allowing the 3rd party plugins should be relatively easy as most of the code required to implement this should already be present in the codebase.

Currently, it is difficult to extend NanaZip's functionality due to the fact that the directory an application is located at when downloaded from the Microsoft Store is read-only, and most users are most likely unwilling or unable to go through the tedious process of taking ownership of the directory to gain write access.

Would searching for plugins from somewhere else be a viable solution given this? Say for example searching at %APPDATA%\NanaZip.

hyblocker avatar Sep 14 '22 22:09 hyblocker

Traditional UWPs does not allow loading DLLs from outside the package, but I guess Centennial apps can.

driver1998 avatar Sep 21 '22 08:09 driver1998

One possible use case might be https://github.com/M2Team/NanaZip/issues/210.

driver1998 avatar Sep 21 '22 08:09 driver1998

I'm using asar plugin, I tried to take the ownership of WindowsApps folder on latest W11 build to test if plugin was working and it did not work, can't write anything.

An official support for plugins would be great.

Goforcereloaded avatar Oct 09 '22 08:10 Goforcereloaded

the plugins need to be included into the msix package for this work

DevX-Cipher avatar Sep 05 '23 04:09 DevX-Cipher

@MouriNaruto can you explain to me in front of page, that said the plan "Try to create isolated and portable plugin infrastructure based on 64-bit RISC-V Unprivileged ISA Specification. Runtime Project: https://github.com/ChaosAIOfficial/RaySoul", what did it said and what it is meaning. It is hard for me to understand how come a plugin system that build on RISC-V ?

And the "plugin" word in that sentence is really meaning the word "plugin" for 7zip etc. ? The why I am interesting in it is of course I would like to build a "plugin" for NanaZip.

uhuntu avatar Nov 05 '23 03:11 uhuntu

@uhuntu

Because I think the portability of the plugin is important. (For example, if the developer builds a plugin, there is only one CPU target version in most cases. People who need plugins will meet the issue when they change the CPU like from x64 to ARM64. We need a solution for solving the issue to bring users a universal experience.)

Kenji Mouri

MouriNaruto avatar Nov 05 '23 09:11 MouriNaruto