MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / ComputeInstallBetaVersions

Function ComputeInstallBetaVersions

Telegram/SourceFiles/core/launcher.cpp:172–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void ComputeInstallBetaVersions() {
173 const auto installBetaSettingPath = InstallBetaVersionsSettingPath();
174 if (cAlphaVersion()) {
175 cSetInstallBetaVersion(false);
176 } else if (QFile::exists(installBetaSettingPath)) {
177 QFile f(installBetaSettingPath);
178 if (f.open(QIODevice::ReadOnly)) {
179 cSetInstallBetaVersion(f.read(1) != "0");
180 }
181 } else if (AppBetaVersion) {
182 WriteInstallBetaVersionsSetting();
183 }
184}
185
186void ComputeInstallationTag() {
187 InstallationTag = 0;

Callers 1

workingFolderReadyMethod · 0.85

Calls 4

openMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected