Added ENV: STATUS_CLIENT_7Z

This commit is contained in:
Andrei Smirnov 2021-09-15 11:31:45 +03:00 committed by Iuri Matias
parent d4da9b75f0
commit fce910bd4a
1 changed files with 2 additions and 1 deletions

View File

@ -394,6 +394,7 @@ nim_windows_launcher: | deps
$(ENV_SCRIPT) nim c -d:debug --outdir:./bin --passL:"-static-libgcc -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive" src/nim_windows_launcher.nim
STATUS_CLIENT_EXE ?= pkg/Status.exe
STATUS_CLIENT_7Z ?= pkg/Status.7z
$(STATUS_CLIENT_EXE): override RESOURCES_LAYOUT := -d:production
$(STATUS_CLIENT_EXE): OUTPUT := tmp/windows/dist/Status
@ -433,7 +434,7 @@ ifdef WINDOWS_CODESIGN_PFX_PATH
endif
echo -e $(BUILD_MSG) "7z"
rm $(OUTPUT)/status.iss
7z a $(INSTALLER_OUTPUT)/Status.7z ./$(OUTPUT)
7z a $(INSTALLER_OUTPUT)/$(STATUS_CLIENT_7Z) ./$(OUTPUT)
pkg: $(PKG_TARGET)