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

closed beta version with autoupdate added

This commit is contained in:
John Preston
2015-12-03 21:16:34 +03:00
parent 2d53ab88a0
commit a6cf42d3ad
32 changed files with 644 additions and 267 deletions

View File

@@ -89,7 +89,7 @@ int main(int argc, char *argv[]) {
#ifndef TDESKTOP_DISABLE_AUTOUPDATE
if (cRestartingUpdate()) {
if (DevVersion) {
if (!cBetaVersion() && DevVersion) {
LOG(("Writing 'devversion' file before launching the Updater!"));
QFile f(cWorkingDir() + qsl("tdata/devversion"));
if (!f.exists() && f.open(QIODevice::WriteOnly)) {