mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
improved os x updater
This commit is contained in:
@@ -23,7 +23,7 @@ bool gTestMode = false;
|
||||
bool gDebug = false;
|
||||
bool gManyInstance = false;
|
||||
QString gKeyFile;
|
||||
QString gWorkingDir, gExeDir;
|
||||
QString gWorkingDir, gExeDir, gExeName;
|
||||
|
||||
QStringList gSendPaths;
|
||||
|
||||
@@ -106,6 +106,7 @@ void settingsParseArgs(int argc, char *argv[]) {
|
||||
}
|
||||
memset_rand(&gInstance, sizeof(gInstance));
|
||||
gExeDir = psCurrentExeDirectory(argc, argv);
|
||||
gExeName = psCurrentExeName(argc, argv);
|
||||
for (int32 i = 0; i < argc; ++i) {
|
||||
if (string("-release") == argv[i]) {
|
||||
gTestMode = false;
|
||||
|
Reference in New Issue
Block a user