Make new CheckVer & GetEN compatible with linux

This commit is contained in:
Tixx
2025-06-29 10:07:34 +02:00
parent 7bef6f35c2
commit f7d3fcf925
3 changed files with 8 additions and 4 deletions

View File

@@ -73,7 +73,11 @@ Version::Version(const std::array<uint8_t, 3>& v)
}
beammp_fs_string GetEN() {
return beammp_wide("BeamMP-Launcher.exe");
#if defined(_WIN32)
return L"BeamMP-Launcher.exe";
#elif defined(__linux__)
return "BeamMP-Launcher";
#endif
}
std::string GetVer() {