add windows debug

This commit is contained in:
Eric 2025-10-15 21:43:37 +11:00
parent 56ca9414ba
commit 1ea4a49335
No known key found for this signature in database

View File

@ -41,7 +41,9 @@ build:
run:
ifeq ($(OS),Windows_NT)
pwsh -File ..\scripts\run-windows.ps1 -BinaryName $(BIN_NAME)
@echo "Current directory: $(CURDIR)"
@dir ..\scripts\run-windows.ps1
pwsh -File $(CURDIR)..\scripts\run-windows.ps1 -BinaryName $(BIN_NAME)
else ifeq ($(UNAME_S),Darwin)
# Instead of relying on install_name_tool, we can define DYLD_LIBRARY_PATH
# DYLD_LIBRARY_PATH=$(LIBS_DIR) ./$(BIN_NAME)