disable updates on windows nightlies

This commit is contained in:
fourtf
2019-09-15 15:45:04 +02:00
parent d451b31cee
commit 7cbbd72e7f
6 changed files with 86 additions and 20 deletions
+2 -1
View File
@@ -8,6 +8,7 @@
#include <QStandardPaths>
#include <cassert>
#include "common/Modes.hpp"
#include "util/CombinePath.hpp"
namespace chatterino {
@@ -32,7 +33,7 @@ bool Paths::createFolder(const QString &folderPath)
bool Paths::isPortable()
{
return this->portable_.get();
return Modes::getInstance().isPortable;
}
QString Paths::cacheDirectory()