From cf4d5bd5108d1c2629b8bc968632987af47730c0 Mon Sep 17 00:00:00 2001 From: proitlab Date: Wed, 7 Jan 2026 14:24:07 +0700 Subject: [PATCH] Update Makefile --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 0f9f8ed..7c9a0d4 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ CODESIGN=echo CODESIGN_APP_CERT= ifeq ($(ZT_OFFICIAL_RELEASE),1) CODESIGN=codesign - CODESIGN_APP_CERT="Developer ID Application: BackOne, Inc (8ZD9JUCZ4V)" + CODESIGN_APP_CERT="Developer ID Application: Nexus, Inc (8ZD9JUCZ4V)" CARGO_FLAGS=--release CARGO_TARGET_DIR=release else @@ -64,16 +64,16 @@ mac: libui cd tray ; make -j2 zt_lib MACOSX_DEPLOYMENT_TARGET=10.13 cargo build $(CARGO_FLAGS) --target=aarch64-apple-darwin MACOSX_DEPLOYMENT_TARGET=10.13 cargo build $(CARGO_FLAGS) --target=x86_64-apple-darwin - lipo -create target/aarch64-apple-darwin/$(CARGO_TARGET_DIR)/backone_desktop_ui target/x86_64-apple-darwin/$(CARGO_TARGET_DIR)/backone_desktop_ui -output target/$(CARGO_TARGET_DIR)/backone_desktop_ui + lipo -create target/aarch64-apple-darwin/$(CARGO_TARGET_DIR)/nexus_desktop_ui target/x86_64-apple-darwin/$(CARGO_TARGET_DIR)/nexus_desktop_ui -output target/$(CARGO_TARGET_DIR)/nexus_desktop_ui make mac-assemble-app mac-assemble-app: FORCE - rm -rf BackOne.app - cp -av mac-app-template/BackOne.app . - mkdir -p BackOne.app/Contents/MacOS - cp -f target/$(CARGO_TARGET_DIR)/backone_desktop_ui BackOne.app/Contents/MacOS/BackOne - xattr -cr BackOne.app - $(CODESIGN) -f --options=runtime -s $(CODESIGN_APP_CERT) BackOne.app + rm -rf Nexus.app + cp -av mac-app-template/Nexus.app . + mkdir -p Nexus.app/Contents/MacOS + cp -f target/$(CARGO_TARGET_DIR)/nexus_desktop_ui Nexus.app/Contents/MacOS/Nexus + xattr -cr Nexus.app + $(CODESIGN) -f --options=runtime -s $(CODESIGN_APP_CERT) Nexus.app # This doesn't need to be run every time, was just used to build the initial libui.rs version. # The result seems to be portable across the targeted platforms so we just check it in.