build: Replace -WIP version suffix with .WIP

This commit is contained in:
WerWolv
2024-06-05 20:59:48 +02:00
parent 0e757e5fb1
commit c217b1b100
5 changed files with 15 additions and 4 deletions

View File

@@ -805,6 +805,10 @@ namespace hex {
#endif
}
bool isNightly() {
return getImHexVersion(false).ends_with("WIP");
}
bool updateImHex(UpdateType updateType) {
// Get the path of the updater executable
std::fs::path executablePath;