2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

improved os x updater

This commit is contained in:
John Preston
2014-11-27 21:20:48 +03:00
parent ecc6899b42
commit d62d5908d1
10 changed files with 65 additions and 19 deletions

View File

@@ -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;