Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: update service logic

Prateek Sunal09098c6d0760
diff --git a/auth/lib/services/update_service.dart b/auth/lib/services/update_service.dart
index 6e1c12bea5..23ed22ec8c 100644
--- a/auth/lib/services/update_service.dart
+++ b/auth/lib/services/update_service.dart
@@ -3,6 +3,7 @@ import 'dart:io';
import 'package:ente_auth/core/constants.dart';
import 'package:ente_auth/core/network.dart';
import 'package:ente_auth/services/notification_service.dart';
+import 'package:ente_auth/utils/platform_util.dart';
import 'package:logging/logging.dart';
import 'package:package_info_plus/package_info_plus.dart';
import 'package:shared_preferences/shared_preferences.dart';
@@ -127,7 +128,8 @@ class UpdateService {
bool isIndependent() {
return flavor == "independent" ||
- _packageInfo.packageName.endsWith("independent");
+ _packageInfo.packageName.endsWith("independent") ||
+ PlatformUtil.isDesktop();
}
}
diff --git a/auth/windows/runner/Runner.rc b/auth/windows/runner/Runner.rc
index 8b36e6b4e3..da5407522d 100644
--- a/auth/windows/runner/Runner.rc
+++ b/auth/windows/runner/Runner.rc
@@ -63,13 +63,13 @@ IDI_APP_ICON ICON "resources\\app_icon.ico"
#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD)
#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD
#else
-#define VERSION_AS_NUMBER 1,0,0,0
+#define VERSION_AS_NUMBER 2,0,34,234
#endif
#if defined(FLUTTER_VERSION)
#define VERSION_AS_STRING FLUTTER_VERSION
#else
-#define VERSION_AS_STRING "2.0.31"
+#define VERSION_AS_STRING "2.0.34+234"
#endif
VS_VERSION_INFO VERSIONINFO