mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
Fix bug 76434 - Fix enterprise license in About
This commit is contained in:
@ -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 \
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user