From ff5a6a3a3c19bc7076eef91ca1b7a5f7fb2153ed Mon Sep 17 00:00:00 2001 From: alves Date: Mon, 2 Mar 2026 16:48:18 +0800 Subject: [PATCH] feature add license for package. --- installer.nsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/installer.nsi b/installer.nsi index ec13774f92..15e6bf09b3 100644 --- a/installer.nsi +++ b/installer.nsi @@ -27,6 +27,11 @@ InstallDir "${INSTALL_DIR_RUNTIME}" !define OUTPUT_FILE "Snapmaker_Orca_Windows_Installer_V${VERSION}.exe" !endif +; License page: show LICENSE.txt from repo root (same dir as this .nsi) +!ifndef LICENSE_FILE + !define LICENSE_FILE ".\LICENSE.txt" +!endif + RequestExecutionLevel admin ; No /SOLID to avoid "Internal compiler error #12345: error mmapping datablock"