- Changed window size to mobile phone format (400x800) - Removed width condition for ActiveProxyFooter - now always visible - Added run-umbrix.sh launch script with icon copying - Stats cards now display on all screen sizes
29 lines
1.8 KiB
Dart
29 lines
1.8 KiB
Dart
abstract class Constants {
|
||
static const appName = "Umbrix";
|
||
static const githubUrl = "https://github.com/umbrix-app/umbrix";
|
||
static const githubReleasesApiUrl = "https://api.github.com/repos/umbrix-app/umbrix/releases";
|
||
static const githubLatestReleaseUrl = "https://github.com/umbrix-app/umbrix/releases/latest";
|
||
static const appCastUrl = "https://raw.githubusercontent.com/umbrix-app/umbrix/main/appcast.xml";
|
||
static const telegramChannelUrl = "https://t.me/umbrix_app";
|
||
static const privacyPolicyUrl = "https://umbrix.net/privacy.html";
|
||
static const termsAndConditionsUrl = "https://umbrix.net/terms.html";
|
||
static const cfWarpPrivacyPolicy = "https://www.cloudflare.com/application/privacypolicy/";
|
||
static const cfWarpTermsOfService = "https://www.cloudflare.com/application/terms/";
|
||
|
||
// ===== НАСТРОЙКИ СЕРВЕРА ОБНОВЛЕНИЙ =====
|
||
|
||
// Собственный сервер обновлений (для приватного репозитория)
|
||
// 📝 ИНСТРУКЦИЯ: Замените на URL вашего API сервера
|
||
// Пример: "https://api.umbrix.net/api/latest"
|
||
// 🧪 Для тестирования в эмуляторе используйте: "http://10.0.2.2:8000/api.php"
|
||
// См. документацию в папке: update-server/README.md
|
||
static const customUpdateServerUrl = "http://10.0.2.2:8000/api.php";
|
||
|
||
// Использовать собственный сервер обновлений вместо GitHub
|
||
// true = использовать customUpdateServerUrl (для приватного репозитория)
|
||
// false = использовать GitHub Releases (для публичного репозитория)
|
||
static const useCustomUpdateServer = true;
|
||
}
|
||
|
||
const kAnimationDuration = Duration(milliseconds: 250);
|