main: Bump version to v1.1, add DISTRO

Git/dev builds will be -git
Official builds will be -pretendo
There might be another type in the future depending on how things go
This commit is contained in:
Ash Logan 2023-07-14 14:20:52 +10:00
parent 252d7a2008
commit 9b71db4762
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,8 @@
.SUFFIXES:
#-------------------------------------------------------------------------------
DISTRO ?= git
ifeq ($(strip $(DEVKITPRO)),)
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>/devkitpro")
endif
@ -31,7 +33,7 @@ INCLUDES := source
CFLAGS := -Wall -O2 -ffunction-sections \
$(MACHDEP)
CFLAGS += $(INCLUDE) -D__WIIU__ -D__WUT__ -D__WUPS__
CFLAGS += $(INCLUDE) -D__WIIU__ -D__WUT__ -D__WUPS__ -DDISTRO=\"$(DISTRO)\"
CXXFLAGS := $(CFLAGS) -std=c++20

View file

@ -9,7 +9,7 @@
WUPS_PLUGIN_NAME("rce_patches");
WUPS_PLUGIN_DESCRIPTION("Patches security issues in WiiU games that could be triggered remotely");
WUPS_PLUGIN_VERSION("v1.0");
WUPS_PLUGIN_VERSION("v1.1-" DISTRO);
WUPS_PLUGIN_AUTHOR("Rambo6Glaz, Maschell");
WUPS_PLUGIN_LICENSE("");
WUPS_USE_STORAGE("rce_patches"); // Unique id for the storage api