Fix bug 76434 - Fix enterprise license in About

This commit is contained in:
Semyon Bezrukov
2025-10-13 17:19:14 +03:00
parent 45d7d30855
commit baf43b865a
2 changed files with 9 additions and 2 deletions

View File

@ -154,7 +154,14 @@ build : $(LINUX_DEPS)
mkdir -p $@/main/opt/$(DESKTOPEDITORS_PREFIX)
cp -rft $@/main/opt/$(DESKTOPEDITORS_PREFIX) $(SOURCE_DIR)/desktopeditors/*
chmod 755 $@/main/opt/$(DESKTOPEDITORS_PREFIX)/DesktopEditors
cp -ft $@/main/opt/$(DESKTOPEDITORS_PREFIX) $(BRANDING_DIR)/../../../common/package/license/$(PACKAGE_EDITION)/LICENSE.txt
ifneq ($(PACKAGE_EDITION), commercial)
cp -ft $@/main/opt/$(DESKTOPEDITORS_PREFIX) \
$(BRANDING_DIR)/../../../common/package/license/$(PACKAGE_EDITION)/LICENSE.txt
else
cp -ft $@/main/opt/$(DESKTOPEDITORS_PREFIX) \
$(BRANDING_DIR)/../../../common/package/license/$(PACKAGE_EDITION)/EULA.txt
endif
cd $@; \
for path in main/$(HELP_GLOB); do \

View File

@ -1197,7 +1197,7 @@ Source: "{#BUILD_DIR}\desktop\converter\*.dll"; DestDir: {app}\converter; Flags:
Source: "..\..\..\common\converter\package.config"; DestDir: {app}\converter;
#ifdef PACKAGE_EDITION
#if PACKAGE_EDITION == "Enterprise"
Source: "{#BRANDING_DIR}\..\..\..\common\package\license\commercial\LICENSE.txt"; DestDir: {app};
Source: "{#BRANDING_DIR}\..\..\..\common\package\license\commercial\LICENSE.txt"; DestDir: {app}; DestName: "EULA.txt";
#else
Source: "{#BRANDING_DIR}\..\..\..\common\package\license\opensource\LICENSE.txt"; DestDir: {app};
#endif