Pascal-Krenckel / NppGZipFileViewer

A Notepad++ plugin to open and save files in the gzip format.
Apache License 2.0
5 stars 2 forks source link

GZip viewer #6

Open ctr opened 7 months ago

ctr commented 7 months ago

Could https://github.com/Pascal-Krenckel/NppGZipFileViewer be added to the Notepad++ plugin manager list of plugins please?

Many thanks

chcg commented 7 months ago

To add this plugin to N++ PluginAdmin a packaging as zip file is needed, see https://github.com/notepad-plus-plus/nppPluginList -> https://npp-user-manual.org/docs/plugins/#plugins-admin

Pascal-Krenckel commented 7 months ago

@ctr Sadly, I'm not able to run notepad++ in debug mode to test whether the nppPluginList.json file is correct. @chcg The GH Action doesn't work, as dependencies are missing. Since there are additional libraries the releases are now in a zip archive with hopefully the correct folder structure.

chcg commented 7 months ago

@Pascal-Krenckel Therefore the initial. I didn't take a closer look into the needs of the plugin but just adapted to the published single dll for version 2.2.0. See https://www.manuelmeyer.net/2016/01/net-power-tip-10-merging-assemblies/ to create a single dll with embedded dependencies. In the meantime I adapted the PR to create a zip file of the complete release folder https://github.com/chcg/NppGZipFileViewer/actions/runs/7097250421 . The upload-artifact actions adds automatically another zip layer around the zip package. Currently no option exists to avoid that (see https://github.com/actions/upload-artifact/issues/367)

Please be aware that N++ PluginAdmin needs the plugin dll at the toplevel and not like in your current release with a extra NppGZipFileViewer folder.

Pascal-Krenckel commented 6 months ago

@chcg Ah it does make sense to avoid problems with duplicated names.

chcg commented 5 months ago

Added 3.0.1 with https://github.com/notepad-plus-plus/nppPluginList/pull/722 for the next N++ release.