mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-03 22:36:14 +00:00
Compare commits
1 Commits
ipv6-suppo
...
better-hea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5368d16f27 |
@@ -252,7 +252,15 @@ void InitLauncher(int argc, char* argv[]) {
|
|||||||
CheckLocalKey();
|
CheckLocalKey();
|
||||||
ConfigInit();
|
ConfigInit();
|
||||||
CustomPort(argc, argv);
|
CustomPort(argc, argv);
|
||||||
CheckForUpdates(argc, argv, std::string(GetVer()) + GetPatch());
|
bool update = true;
|
||||||
|
for (int i = 1; i < argc; ++i) {
|
||||||
|
if (std::string_view(argv[i]) == "--no-update") {
|
||||||
|
update = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (update) {
|
||||||
|
CheckForUpdates(argc, argv, std::string(GetVer()) + GetPatch());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
void InitLauncher(int argc, char* argv[]) {
|
void InitLauncher(int argc, char* argv[]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user