Skip to content

Commit

Permalink
chore: also generate build date in meta.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
DacoTaco committed Sep 9, 2023
1 parent d1f2eda commit 506bc71
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions priiloader.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"**/*.rar": true,
"**/bootloader.exe": true,
"**/OpenDolBoot.exe": true,
"**/META.XML": true,
},
"C_Cpp.default.cStandard": "c17",
"C_Cpp.default.cppStandard": "gnu++17",
Expand Down
2 changes: 1 addition & 1 deletion src/Installer/META_TEMPLATE.XML
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<name>Priiloader Installer</name>
<coder>DacoTaco</coder>
<version>%PRIILOADER_VERSION%</version>
<release_date>20220905100000</release_date>
<release_date>%PRIILOADER_BUILDDATE%</release_date>
<short_description>Preloader Mod</short_description>
<long_description>Priiloader is the follow up from Crediar's Preloader.
This Installer can install or remove a priiloader installation. After installation you can access Priiloader by holding the Reset button as you power on your Wii.
Expand Down
2 changes: 1 addition & 1 deletion src/Installer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ all: $(BUILD) run
include $(SHARED)/GitVersion.mk

META.XML: $(SHARED)/gitrev.h
$(SILENTCMD)sed 's/%PRIILOADER_VERSION%/$(NUMBERSTR)/g' META_TEMPLATE.XML > $@
$(SILENTCMD)sed 's/%PRIILOADER_VERSION%/$(NUMBERSTR)/g' META_TEMPLATE.XML | sed 's/%PRIILOADER_BUILDDATE%/$(shell date '+%Y%m%d%H%M%S')/g' > $@

#run
$(BUILD): GenerateVersion META.XML
Expand Down

0 comments on commit 506bc71

Please sign in to comment.