mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Closed beta 10002002: testin OS X build by GYP.
This commit is contained in:
@@ -138,18 +138,6 @@ QString BetaSignature;
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QString workDir;
|
||||
#ifdef Q_OS_MAC
|
||||
if (QDir(QString()).absolutePath() == "/") {
|
||||
QString first = argc ? QString::fromLocal8Bit(argv[0]) : QString();
|
||||
if (!first.isEmpty()) {
|
||||
QFileInfo info(first);
|
||||
if (info.exists()) {
|
||||
QDir result(info.absolutePath() + "/../../..");
|
||||
workDir = result.absolutePath() + '/';
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
QString remove;
|
||||
int version = 0;
|
||||
|
||||
Reference in New Issue
Block a user