feat: update to v1.7.3 with smart asset detection and auto-install
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user