GithubHelp home page GithubHelp logo

m2team / nanazip Goto Github PK

View Code? Open in Web Editor NEW
7.1K 61.0 189.0 40.26 MB

The 7-Zip derivative intended for the modern Windows experience

Home Page: https://sourceforge.net/projects/nanazip/

License: Other

Batchfile 0.01% C++ 56.27% C 43.28% Assembly 0.44%
cpp file-compression file-manager windows-10 windows-11 windows-desktop xaml-islands xaml-winrt

nanazip's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nanazip's Issues

[Suggestion] Smart detection of single root folder

Archives created on Linux and from scripts usually contain a single root folder with the same name as the archive. Other archives may contain the files directly. It would be great if the single root folder could be detected somehow, and be created or stripped automatically depending on the extraction option.

Example:

  • Two archives:
    1. with-root-folder.zip containing files root-folder/file-1, root-folder/file-2, and root-folder/file-3
    2. without-root-folder.zip containing files file-1, file-2, and file-3.
  • Option "Extract here":
    1. Extracts the content as-is, resulting in root-folder/file-{1,2,3}
    2. Detects a missing root folder, creates it, and extracts the archive into it (resulting in e.g. without-root-folder/file-{1,2,3}
  • Option "Extract to ":
    1. Detects the single root folder and removes it from the path, resulting in <target folder>file-{1,2,3}
    2. Extracts the content as-is into <target folder name>, resulting in /file-{1,2,3}`

So, no matter whether the archive contains a single root folder or not, the result of all extraction options is always the same.

Bandizip for example has such called "Extract here (Smart)".

怎么安装啊????????

C:\Users\Administrator>Certutil -addStore Root "[The path of MouriNaruto.cer]"
Root "受信任的根证书颁发机构"
DecodeFile 返回了 系统找不到指定的文件。 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND)
CertUtil: -addstore 失败: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND)
CertUtil: 系统找不到指定的文件。

Distribution options

A zip program should be distributed as a zip package, if only for the joke of it. Aside from that, its easier to include it in the scoop repo's, which is my preferred method of installation.

Feature Suggestion: Icon Customization

Icon customization has been around in 7zip for quite a while with 7zip theme manager (7zTM). Since customizing 7zip icons is still fairly popular, it would be great to be able to customize the icons in NanaZip. (I for one like to make all my archive files use a theme that closely matches the system theme's default zip icon.) Adding icon customization as a built-in, first-class feature would probably draw a lot of people who like to customize over to NanaZip. It may even be possible to support 7zTM formatted themes as well, at least for icons at minimum, since their format is pretty simple and straightforward.

Thanks for this project!

I'm not a developer who can help but I'm following each step on it. I hope this project gets more attention to have more contributions.

A new one is coming, and we look forward to discussing the new NanaZip icon with you!

Today, we want to tell you.

With your help in this matter of icon design, we have gone one step further!

First of all, please let us thank:

  • @RGarrido03 : Presented a prototype of our document logo
  • @lychichem : Reference prototypes of our program icons
  • @RobbyMeeker : An interesting suggestion was provided to us
  • @BoxterMaiti : Provides impactful solutions of its own design

There are also friends like @bitsper2nd, @wangwenx190 and @Void48 ...... who put forward their own solutions and understanding for the design of the logo.

And finally we'd like to thank 四月天: our logo designer, who integrated everyone's suggestions and refined the design!


Now, the new logos of NanaZip are born.

  • It contains an application icon with high contrast optimization.
Usually High-Contrast-Themes (In Black Themes) High-Contrast-Themes (In White Themes)
LOGO High-Contrast-Themes(Black) High-Contrast-Themes(Weite)
  • A logo for archived files supported by NanaZip.

File Icon

  • And a file icon dedicated to the NanaZip self-extracting format.

Self-Extracting File Icon


Here are some screenshots of the new design in our Canary version.

NanaZip (Canary)

NanaZipContextMenu (Canary)

NanaZipMainWindow (Canary)

We hope you like them!

We would like to thank you all again for your help!


What do you think of these designs?

Keep joining the discussion on our logo!

Sakura Neko

October 13, 2021

When select folder and single file in certain order, blank menu is displayed

Example: foo_uie_eslyric.dll and folder Scripts, which can be downloaded from https://github.com/dream7180/foobox-cn/blob/6.1.x/NSIS%20Source/foobar2000-core/components/foo_uie_eslyric.dll and https://github.com/dream7180/foobox-cn/tree/6.1.x/ESL-Scripts
Steps to reproduce:

  1. Select folder ESL-Scripts (Here I just renamed it to Scripts, which will work same)
  2. Then select foo_uie_eslyric.dll by pressing shift or ctrl
  3. Right click on foo_uie_eslyric.dll
  4. A Nanazip menu with nothing in the submenu will show in context menu
    image

Note: The issue can just be reproduced strictly according to all the steps above. Changing orders or click on the folder will not cause the issue.
Additional info:
System: Windows 11 22000.282 x64 Pro zh-CN
NanaZip: 1.0 preview 3
NanaZip context menu setting:
image

Add install instructions

If you want a pull request, I can do it, but I just thought I'd share my use-case.

I have early on removed almost all AppX packages from my Windows installation to "de-bloat" my Windows.

This means when I download an .msixbundle the file extension is not associated with any application. I can't just run it as instructed in the release notes.

I have to run PowerShell and run:

Add-AppxPackage ./40174MouriNaruto.NanaZipPreview_1.0.88.0_gnj4mf6z9tkrc.msixbundle

It installs just fine after that, so maybe that's good to add to the README file. 👍

CLI entry point

7-zip has a useful CLI entry point 7z.exe that allows users to compress/decompress files in the command line. NanaZip should support this too.

Few issues with new context menu

Noticed a few weird behaviors in the new context menus. I don't know if some are just limitations of the new system, but I still wanted to report them just in case.

  1. Category separators are displayed at the end of list even if there aren't any more categories
    image

  2. When only 1 menu item enabled, it is still being indented into a submenu, it would be better to just display it as is, or to be put as an option (like in original 7zip).
    Untitled-2

  3. When no options that could interact with folders are enabled (such as Add to, Compress and CRC SHA), app still displays in folder context menu, resulting in empty entry that doesn't do anything.
    image

It would be great if you could fix these issues. Thanks to the team for your work on this project.

[Feature Request] 如果压缩包内容是零散的文件(夹),解压到当前目录时自动解压到一个与压缩包同名的文件夹

BandiZip有一项特色功能是如果压缩包的内容是零散的文件或文件夹(也就是没有顶层目录),你选择解压到当前目录时,它会自动创建一个以压缩包文件名为名字的文件夹,来存放本该十分零散的文件,防止直接解压到外面导致当前目录的结构一下子变得十分混乱。我觉得NanaZip应该添加这个功能,用处真的很大,对用户来说会方便很多,不然每次解压之前都要先打开压缩包看一下,十分繁琐。

[Feature Request] Smart Extraction

Smart extraction is a new feature planned in NanaZip 3.x series, which is mentioned in https://github.com/M2Team/NanaZip#development-roadmap. It will have the similar behavior like Bandizip's.

Why not add it before 3.x?

The reason is really simple. I want to modernize the UI planned in 2.x series first. I really don't want to add features in the old implementations which will be modernized.

Why create this issue?

Because I want people who want this feature will have a centralized space to talk.

I also want more suggestions from you and help me make a better implementation about this feature.

Related Issues

Kenji Mouri

Better translation files

Hi,

I don't know if it's possible due to the translation files are also used by 7zip, but can you improve the current translation files (new format)?

Currently, the txt format is difficult to handle. You can try to use VS translation file and maybe set up a project in a translation platform, such as Crowdin (it's free for open source projects)

Delete source archives function would be great

Hello, I've just installed Nanazip as it integrates really well with windows 11. There is one small function missing from the program I used to use (easy7zip) which is "Delete source archives". This removes the compressed file after decompression.

Here is a screenshot of the option:
easy-7-zip

It'd be really cool to see this option make it into Nanazip! Thanks :)

Context Menu

The context menu is not displayed when operating files in the following software.
Directory Opus
https://www.gpsoft.com.au/

The context menu of 7-zip 21.03 is displayed and works normally.

Support context menu in Files (UWP) app

Please try and check if its possible to add NanaZip to Files UWP app's context menu. Me (and hopefully) a lot of other people use it as our primary file manager app. Whilst Files does have its own unzipping mechanism, I would still believe that a third party integration like one with NanaZip would be robust and would benefit users.

Select and port features upstream

New context menus comes to mind. But other UI improvements might not bode well if 7zip puts more emphasis to smaller package or backward comparability.

Add to chocolatey

7-zip is one of the most downloaded programs in Chocolatey and it would be good if this was included there as well.

在根目录下右键时100%导致程序崩溃

image
如图所示,在这一级根目录下右键任何项目均会导致程序直接崩溃,崩溃报告如图:
image
我自己在我win11的机器上操作三次每次都可以复现,同学在win10机器上也可以复现

Dark Theme

This app needs a dark theme that 7zip doesn't have.

Dragging a file, NanaZip missing in context menu.

(only tested on Windows 10, will later test on Windows 11 as well.)

When I Right Click a folder I get NanaZip in the context menu.
3OxMQfw5M6

But if I Right Click Drag the same folder I do not get that option. (I do get the original 7zip, Windows 10)
Eqwsgc5Qkm

Is there a plan to add Right Click Drag support like in the original 7zip?
Aslo if and when the original 7zip autor adds Windows 11 context menu support what will this project do?

在特定目录操作时文件被重定向

当我在%AppData%这个目录里执行压缩或解压操作时
文件会被重定向至此位置
C:\Users\%UserName%\AppData\Local\Packages\40174MouriNaruto.NanaZip_gnj4mf6z9tkrc\LocalCache\Roaming\

系统:Windows 11,22000.282
NanaZip:1.0 Preview 3 (x64)

zip格式压缩包图标模糊

如标题,rar和7z格式图标是清晰的,zip格式图标是模糊的。nanazip preview 4,Windows 11 22000.384 x64中文专业版,当图标尺寸选择小图标以上时都有此问题

文件关联出了点问题,已解决

Portable version

I use 7-zip all in various PCs and so having a portable copy of 7-zip in my USB is quite important. I hope Nanazip would have a portable version as well.

文件管理器中无法筛选7z和rar中的某一种文件

把7z和rar文件均设为用nanazip打开,则文件类型均显示为“NanaZip Archive”,且无法筛选其中一种文件
image

但如果均改为用7zip打开,则文件类型分别显示为“7Z 文件”和"RAR 文件",可以分别筛选。
image
image

Allow context menu items at root level

One of the 7Zip attributes was the ability to have context menu items at the root level. E.g., RMB gives "Add to archive..." vs "7Zip->Add to archive...". This is an RFE to have NanaZip provide the equivalent functionality

Nanazip only shows in context menu for folders

After installing nanazip on windows 10 (from windows store), I see that nanazip does show in the context menu (as expected) when right clicking on a folder:

image

However, it does NOT show in the context menu when right clicking on a file:

image

NOTE: This is the case even after restarting explorer.exe and even after rebooting the machine

Context menu on desktop

Simple summary: If I right click a RAR file in File Explorer (including in the desktop "directory") I get the NanaZip context menu, but right clicking RARs on the actual desktop itself I do not.

Can it be added to files on the desktop itself?

[Suggestion] Single pass extraction of compressed tar files

Usually, when uncompressing compressed tar files (.tar.gz or .tar.xz or whatever), the user is interested in the content of the tar archive, not the .tar itself. NanaZip could help the user here by extracting and unarchiving the file in a single pass, instead of having to uncompress the archive and then unarchive it in two steps.

Suggestion on NanaZip (7 Zip) name

Seem reasonable to understand that NanaZip is literally 7 Zip, but wouldn't it make a bit more sense to divert towards something a bit more meaningful towards the direction that this Zip solution is supposed to go? If your plans are to change the entire UI and possibly even features, you may want to pick a name that isn't quite literally Seven Zip ^_^ But that is just a suggestion.

.webp as archive file

In the Nana Zip context menu for *.webp files there is a command "Open archive". Clicking causes an error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.