2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 08:05:12 +00:00

testing beta update to 9014002, frequent beta update check, no creating .desktop file for beta

This commit is contained in:
John Preston
2015-12-04 17:29:57 +03:00
parent 8552b8421b
commit c8c13219ed
5 changed files with 9 additions and 8 deletions

View File

@@ -1167,7 +1167,7 @@ namespace {
void psRegisterCustomScheme() {
#ifndef TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME
QString home(_psHomeDir());
if (home.isEmpty()) return;
if (home.isEmpty() || cBetaVersion()) return; // don't update desktop file for beta version
DEBUG_LOG(("App Info: placing .desktop file"));
if (QDir(home + qsl(".local/")).exists()) {