Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit
Swift apple-silicond3dmetaldxmtdxvkgame-porting-toolkitgptkmac-gamingmacosmetalfxrosetta-2steamsteam-playwinewinecx
Use commit time as build time
NotProtonNot5ca692a600bd
diff --git a/Makefile b/Makefileindex 318a5e7..be42eef 100644--- a/Makefile+++ b/Makefile@@ -45,7 +45,7 @@ SRCS := \vendor/cJSON.cOUT_DIR := out-TEST_CC = $(CC) -arch $(ARCH) -mmacosx-version-min=$(MIN_VER) -std=c17 -g \+TEST_CC := $(CC) -arch $(ARCH) -mmacosx-version-min=$(MIN_VER) -std=c17 -g \-Wall -Wextra -Wno-unused-parameter -IdylibGENERATED_DIR := $(OUT_DIR)/generated@@ -514,7 +514,9 @@ app-payload: $(TARGET) $(OVERLAY_SHIM) $(ICONMAKER) $(APPINFO)elif [ -f "$$dst" ]; then echo "==> keeping staged $${spec##*:}"; \else echo "$$src is missing and nothing is staged at $$dst, run: $(MAKE) bridge" >&2; exit 1; fi; \done- @date -u +%s > "$(APP_PAYLOAD)/build-time"+ @stamp="$$(git log -1 --format=%ct 2>/dev/null)"; \+ if [ -z "$$stamp" ]; then echo "build-time needs a git checkout" >&2; exit 1; fi; \+ echo "$$stamp" > "$(APP_PAYLOAD)/build-time"@echo "==> Staged app payload in $(APP_PAYLOAD)"APP_BUNDLE := $(OUT_DIR)/NotProton.app