ente-auth: disable updates

This commit is contained in:
Niklas Korz
2024-12-11 10:25:20 +01:00
parent 70a9b03ccb
commit 6afcee9573
2 changed files with 20 additions and 0 deletions
@@ -0,0 +1,15 @@
diff --git a/auth/lib/services/update_service.dart b/auth/lib/services/update_service.dart
index 716d553f1b..3946d87a7d 100644
--- a/lib/services/update_service.dart
+++ b/lib/services/update_service.dart
@@ -134,9 +134,7 @@ class UpdateService {
}
bool isIndependent() {
- return flavor == "independent" ||
- _packageInfo.packageName.endsWith("independent") ||
- PlatformUtil.isDesktop();
+ return false;
}
}
+5
View File
@@ -31,6 +31,11 @@ flutter324.buildFlutterApplication rec {
pubspecLock = lib.importJSON ./pubspec.lock.json;
patches = [
# Disable update notifications and auto-update functionality
./0001-disable-updates.patch
];
postPatch = ''
rmdir assets/simple-icons
ln -s ${simple-icons} assets/simple-icons