mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
fixed bug in dev -> stable update, version 0.8.42.dev
This commit is contained in:
@@ -80,8 +80,8 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
if (cRestartingUpdate()) {
|
||||
if (DevVersion) {
|
||||
LOG(("Writing 'withdebug' file before launching the Updater!"));
|
||||
QFile f(cWorkingDir() + qsl("tdata/withdebug"));
|
||||
LOG(("Writing 'devversion' file before launching the Updater!"));
|
||||
QFile f(cWorkingDir() + qsl("tdata/devversion"));
|
||||
if (!f.exists() && f.open(QIODevice::WriteOnly)) {
|
||||
f.write("1");
|
||||
f.close();
|
||||
|
Reference in New Issue
Block a user