Get application version from git

This commit is contained in:
Jonian Guveli 2024-08-20 12:30:19 +03:00
parent b09972892a
commit dfc7b59de2
7 changed files with 40 additions and 5 deletions

View file

@ -1,3 +1,4 @@
#include <version.hpp>
#include <emulator.hpp>
#include <hydra/core.hxx>
#include <renderer_gl/renderer_gl.hpp>
@ -150,7 +151,7 @@ HC_API const char* getInfo(hydra::InfoType type) {
case hydra::InfoType::SystemName: return "Nintendo 3DS";
case hydra::InfoType::Description: return "HLE 3DS emulator. There's a little Alber in your computer and he runs Nintendo 3DS games.";
case hydra::InfoType::Author: return "wheremyfoodat (Peach)";
case hydra::InfoType::Version: return "0.7";
case hydra::InfoType::Version: return PANDA3DS_VERSION;
case hydra::InfoType::License: return "GPLv3";
case hydra::InfoType::Website: return "https://panda3ds.com/";
case hydra::InfoType::Extensions: return "3ds,cci,cxi,app,3dsx,elf,axf";