GNU Lesser General Public License v2.1

项目介绍

myfreeer/7z-build-nsis 是一个托管在 GitHub 上的开源项目,主要使用 Batchfile 编写,采用 GNU Lesser General Public License v2.1 许可证,目前获得 401 个 Star、51 次 Fork。

仓库全名
myfreeer/7z-build-nsis
开源许可证
GNU Lesser General Public License v2.1
Star 数
401
Fork 数
51
未关闭 Issue
9

README 摘要

7z-build-nsis 7-Zip build scripts with NSIS script decompilation for Windows and Linux. This build can unpack nsis script, eg. [NSIS].nsi or [LICENSE].txt from nsis installer. This feature is disable in official versions since 15.05, after which official versions are only able to unpack files from installer. On Windows, only executables depending on 7z.dll can unpack NSIS packages. On Linux, use the full 7zz binary…

完整内容见 GitHub 原始 README 或本页 。

常见问题

7z-build-nsis 用什么语言开发?

主要使用 Batchfile 编写,采用 GNU Lesser General Public License v2.1 许可证,目前有 401 个 Star。

7z-build-nsis 可以免费商用吗?

仓库标注的许可证为 GNU Lesser General Public License v2.1,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 7z-build-nsis 的源码?

可以直接克隆仓库:git clone https://github.com/myfreeer/7z-build-nsis.git,默认分支为 master;安装与运行步骤见仓库 README。

7z-build-nsis 最近还在维护吗?

仓库最近一次更新为 2 周前,当前有 9 个未关闭 Issue;Star 数为 401,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

7-zip build and package script with nsis script decompiling using ms visual studio

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Batchfile
Shell

Release

README

7z-build-nsis

7-Zip build scripts with NSIS script decompilation for Windows and Linux.

This build can unpack nsis script, eg. [NSIS].nsi or [LICENSE].txt from nsis installer. This feature is disable in official versions since 15.05, after which official versions are only able to unpack files from installer.

On Windows, only executables depending on 7z.dll can unpack NSIS packages. On Linux, use the full 7zz binary built by this project. Reduced variants such as 7za and 7zr do not include the NSIS archive handler.

Badges

Build status Linux build Downloads Latest Release Latest Release GitHub license

Linux

Install a C/C++ toolchain, GNU Make, tar, curl or wget, and either 7zz or 7z to extract the upstream source archive. On Debian and Ubuntu:

sudo apt-get install build-essential p7zip-full curl

Build the native full-featured command-line executable:

./7-zip-build.sh

The executable and a release archive are written to dist/. A convenient copy is available as dist/7zz; versioned outputs include, for example, dist/7z2603-linux-x86_64/7zz and dist/7z2603-linux-x86_64.tar.gz. The build is native, so the architecture in the output name follows uname -m.

The most useful optional environment variables are:

  • JOBS: number of parallel compiler jobs.
  • SEVENZIP_VERSION: upstream archive version, such as 7z2603.
  • SEVENZIP_SOURCE_DIR: build an already extracted, offline source tree.
  • BUILD_DIR and DIST_DIR: override the intermediate and output directories.
  • CC and CXX: select another C/C++ compiler, such as Clang.

To run the end-to-end decompilation test, install nsis and use:

./tests/smoke-test-linux.sh

To decompile an installer directly:

./dist/7zz x installer.exe '[NSIS].nsi' '[LICENSE].txt'

Windows

Prerequisites

  • Visual Studio 2015, 2017, 2019, or 2022.
  • 7z.exe in PATH or the current folder.
  • Internet access through PowerShell Net.WebClient.

Usage

Clone this repository and run 7-zip-build.bat in a Visual Studio Developer Command Prompt.

Credits

评论

暂无评论