Atlas-OS / Atlas

🚀 An open and lightweight modification to Windows, designed to optimize performance, privacy and usability.
https://atlasos.net
GNU General Public License v3.0
13.6k stars 519 forks source link

[FEATURE] - Use NanaZip fork instead of 7-Zip #1021

Open agowa opened 8 months ago

agowa commented 8 months ago

What is your feature request regarding to?

Atlas Playbook

Is your feature request related to a problem? Please describe.

Consider using the NanaZip fork of 7-Zip instead of 7-Zip itself as it has better integration into windows 11. E.g. not needing to modify the path environment variable in order to use 7z.exe from the cli (because of it registering itself within "Apps > Advanced app settings > App execution aliases").

Describe the solution you would like.

Instead of installing 7-Zip through the playbook install NanaZip

Describe alternatives you have considered.

does not apply

Additional context.

No response

n00b69 commented 8 months ago

+1

Also, not sure if still applicable, but in the past Nanazip Preview worked better on win11 than the regular one. I have only ever used the Preview version, so I cannot confirm this.

Revival8697 commented 8 months ago

-1

Consider to NOT use NanaZip till a stable release is out.

JayXTQ commented 8 months ago

let's not have a debate about this topic. if there is no stable release, this issue will be put on hold until there is a stable release. closing for now until then.

agowa commented 8 months ago

@JayXTQ But there is a stable release https://apps.microsoft.com/detail/9N8G7TSCL18R?hl=en-us&gl=US

JayXTQ commented 8 months ago

just because it's on ms store doesn't mean it's stable lol. until there is valid evidence that it is stable this will be closed. or if it's not needed in atlas, which it isn't really as 7z works fine

agowa commented 8 months ago

7z is neither added to the path, nor does it register itself for an app execution alias, so "7z works fine" is debatable. Also NanaZip has a bunch of improvements just look at the list either on the store page or their GitHub. Like it supporting additional compression algorithms, archive types, better dpi awareness for multi monitor setups, additional hashing algorithms, improved security, ...

Also what do you want as "prove" that it isn't unstable if this isn't enough?: This is the stable version: https://apps.microsoft.com/detail/9N8G7TSCL18R?hl=en-us&gl=US And this is the preview version: https://apps.microsoft.com/detail/9NZL0LRP1BNL?hl=en-us&gl=US And this is the projects GitHub page: https://github.com/M2Team/NanaZip

JayXTQ commented 8 months ago

none of those benefits are needed in atlas and it doesn't need to be added to path for it to work for the average user. you forget this is not something for developers but for gamers.

Revival8697 commented 8 months ago

But there is a stable release

improved security

https://github.com/M2Team/NanaZip/issues/330, https://github.com/M2Team/NanaZip/issues/331. The stable build of NanaZip is severely outdated.

Also what do you want as "prove" that it isn't unstable if this isn't enough?

v3 is in Preview, we shouldn't ship Preview/Beta/Unstable builds to users.

Ast3risk-ops commented 8 months ago

I had no idea about those and I used the stable build of nanazip when on windows 💀

agowa commented 8 months ago

Same, wasn't aware of these ones.

francisco-lafe commented 8 months ago

I'm not sure I'm understanding why NanaZip 2.0 (stable) is not being considered as an option.

Ast3risk-ops commented 8 months ago

I'm not sure I'm understanding why NanaZip 2.0 (stable) is not being considered as an option.

Security issues and it's not actually stable and 7zip works just fine.

he3als commented 8 months ago

You can argue security issues, but 7-Zip doesn't automatically update or notify the users of updates. Once NanaZip gets more developed, it should be fundamentally more secure, as NanaZip is installed and updated via the Store.

Currently though, I don't think that NanaZip is in a developed enough state to make it worth using over 7-Zip, and the process of automatic installation inside the playbook will be a bit more difficult due to it being AppX.

I'll keep this open to track it's development.

he3als commented 4 months ago

I've checked up on the project again and I'm happy to implement NanaZip. The only issue is that there's no permanent download links to the latest release (appx and license), and we can't use the GitHub API to get this as its blocked in certain regions.

Ast3risk-ops commented 4 months ago

I've checked up on the project again and I'm happy to implement NanaZip. The only issue is that there's no permanent download links to the latest release (appx and license), and we can't use the GitHub API to get this as its blocked in certain regions.

There's the Microsoft store, fetch it from there via winget.

For stable builds you can use https://sourceforge.net/projects/nanazip/files/latest/download

he3als commented 4 months ago

WinGet seemingly has a chance of not being installed/updated on some installs for some reason. Therefore, we'd need a WinGet install script, and quite a lot can go wrong there. I already tried this before.

I think SourceForge is also blocked in some countries.

Ast3risk-ops commented 4 months ago

Can't win 'em all. Try using the GitHub API to do it, then if it's blocked switch to 7zip.

he3als commented 4 months ago

Sure.

Ast3risk-ops commented 4 months ago

Sure.

Great backup in case of an API rate limit too 😬

JayXTQ commented 4 months ago

@he3als use jsdelivr

he3als commented 4 months ago

You can't use the GitHub API with JSDelivr, or download releases without asking them

JayXTQ commented 4 months ago

I know you can't use the GitHub API, but can't you use JSDelivr to download a release?

JayXTQ commented 4 months ago

Also, they do have sourceforge, but no clue if available in all regions: https://sourceforge.net/projects/nanazip/

he3als commented 4 months ago

can't you use JSDelivr to download a release

If I recall correctly, no, unless you request them to set up a proxy for the repositories' releases. However, the GitHub API is required to get the download link first; without that, we can't get the latest release URL.

If we have a way to get a list of the latest releases using JSDelivr, that could work.

they do have sourceforge, but no clue if available in all regions

I don't think it is, unfortunately.

he3als commented 4 months ago

I’ve implemented it currently so that if NanaZip isn’t accessible, it gets 7-Zip instead.

Benik3 commented 3 days ago

Nanazip is missing one of the best feature of 7zip/winrar - right click drag context menu.
Also the new style of file association in NanaZip is absolute pain...

Ast3risk-ops commented 3 days ago

Also, they do have sourceforge, but no clue if available in all regions: sourceforge.net/projects/nanazip

Worst. mirror. ever.