2024-07-26 22:53:52 +00:00
|
|
|
/*
|
2024-09-17 19:00:25 +00:00
|
|
|
* Deskflow -- mouse and keyboard sharing utility
|
2026-06-08 20:37:23 +00:00
|
|
|
* SPDX-FileCopyrightText: (C) 2024 Synergy App Ltd
|
2025-01-24 00:11:17 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
2024-07-26 22:53:52 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
2024-08-09 18:20:10 +00:00
|
|
|
// important: this is used for settings paths on some platforms,
|
|
|
|
|
// and must not be a url. qt automatically converts this to reverse domain
|
2024-10-01 13:30:24 +00:00
|
|
|
// notation (rdn), e.g. org.deskflow
|
2024-10-28 20:17:34 +00:00
|
|
|
const auto kOrgDomain = QStringLiteral("deskflow.org");
|
2024-07-26 22:53:52 +00:00
|
|
|
|
2025-02-20 14:19:31 +00:00
|
|
|
const auto kUrlSourceQuery = QStringLiteral("source=gui");
|
2025-03-21 12:24:35 +00:00
|
|
|
const auto kUrlApp = QStringLiteral("https://%1").arg(kOrgDomain);
|
2025-02-20 14:19:31 +00:00
|
|
|
const auto kUrlHelp = QStringLiteral("%1/help?%2").arg(kUrlApp, kUrlSourceQuery);
|
|
|
|
|
const auto kUrlDownload = QStringLiteral("%1/download?%2").arg(kUrlApp, kUrlSourceQuery);
|
2024-08-07 14:05:18 +00:00
|
|
|
|
2025-03-21 00:36:09 +00:00
|
|
|
const auto kUrlUpdateCheck = QStringLiteral("https://api.%1/version").arg(kOrgDomain);
|
|
|
|
|
|
2024-10-01 13:30:24 +00:00
|
|
|
#if defined(Q_OS_LINUX)
|
2025-02-20 14:19:31 +00:00
|
|
|
const auto kUrlGnomeTrayFix = QStringLiteral("https://extensions.gnome.org/extension/615/appindicator-support/");
|
2024-08-09 18:20:10 +00:00
|
|
|
#endif
|