Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WORKINGDIR := $(SOURCEDIR)/Natives/build
DETECTPLAT := $(shell uname -s)
DETECTARCH := $(shell uname -m)
VERSION := 3.0
BRANCH := $(shell git branch --show-current)
BRANCH ?= $(shell git branch --show-current)
COMMIT := $(shell git log --oneline | sed '2,10000000d' | cut -b 1-7)
PLATFORM ?= 2

Expand All @@ -28,8 +28,8 @@ SLIMMED_ONLY ?= 0

# If not in a GitHub repository, default to these
# so that compiling doesn't fail
BRANCH ?= "unknown"
COMMIT ?= "unknown"
BRANCH := $(if $(BRANCH),$(BRANCH),"unknown")
COMMIT := $(if $(COMMIT),$(COMMIT),"unknown")

# Team IDs and provisioning profile for the codesign function
# Default to -1 for check
Expand Down
Loading