feat: update to v1.7.3 with smart asset detection and auto-install
Some checks failed
CI / run (push) Waiting to run
Upload store MSIX to release / upload-store-msix-to-release (push) Has been cancelled

This commit is contained in:
Umbrix Developer
2026-01-18 20:14:19 +03:00
parent e79b508531
commit 95383d09fc
14 changed files with 940 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
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 githubUrl = "https://update.umbrix.net/vodorod/umbrix";
static const githubReleasesApiUrl = "https://update.umbrix.net/api/v1/repos/vodorod/umbrix/releases";
static const githubLatestReleaseUrl = "https://update.umbrix.net/vodorod/umbrix/releases/latest";
static const appCastUrl = "http://localhost:8000/api/appcast.xml";
static const telegramChannelUrl = "https://t.me/umbrix_app";
static const privacyPolicyUrl = "https://umbrix.net/privacy.html";
@@ -18,12 +18,14 @@ abstract class Constants {
// 🖥️ Для Linux десктопа используйте: "http://localhost:8000/api/appcast.xml"
// 📱 Для Android эмулятора используйте: "http://10.0.2.2:8000/api/appcast.xml"
// См. документацию в папке: update-server/README.md
static const customUpdateServerUrl = "http://localhost:8000/api/appcast.xml";
// ТЕСТ: Используем httpbin.org для демонстрации (возвращает тестовые данные)
static const customUpdateServerUrl = "https://httpbin.org/json";
// Использовать собственный сервер обновлений вместо GitHub
// true = использовать customUpdateServerUrl (для приватного репозитория)
// false = использовать GitHub Releases (для публичного репозитория)
static const useCustomUpdateServer = true;
static const useCustomUpdateServer = false;
}
const kAnimationDuration = Duration(milliseconds: 250);