mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-16 06:36:44 +02:00
Compare commits
1 Commits
v0.6.3-bet
...
v0.6.4-bet
Author | SHA1 | Date | |
---|---|---|---|
e746ca890a |
@ -14,7 +14,7 @@ import 'package:workmanager/workmanager.dart';
|
||||
import 'package:dynamic_color/dynamic_color.dart';
|
||||
import 'package:device_info_plus/device_info_plus.dart';
|
||||
|
||||
const String currentVersion = '0.6.3';
|
||||
const String currentVersion = '0.6.4';
|
||||
const String currentReleaseTag =
|
||||
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES
|
||||
|
||||
|
@ -302,7 +302,7 @@ class AppsProvider with ChangeNotifier {
|
||||
}
|
||||
|
||||
// If Obtainium is being installed, it should be the last one
|
||||
List<DownloadedApp> moveObtainiumToEnd(List<DownloadedApp> items) {
|
||||
List<DownloadedApp> moveObtainiumToStart(List<DownloadedApp> items) {
|
||||
String obtainiumId = 'imranr98_obtainium_${GitHub().host}';
|
||||
DownloadedApp? temp;
|
||||
items.removeWhere((element) {
|
||||
@ -313,7 +313,7 @@ class AppsProvider with ChangeNotifier {
|
||||
return res;
|
||||
});
|
||||
if (temp != null) {
|
||||
items.add(temp!);
|
||||
items = [temp!, ...items];
|
||||
}
|
||||
return items;
|
||||
}
|
||||
@ -321,8 +321,8 @@ class AppsProvider with ChangeNotifier {
|
||||
// TODO: Remove below line if silentupdates are ever figured out
|
||||
regularInstalls.addAll(silentUpdates);
|
||||
|
||||
silentUpdates = moveObtainiumToEnd(silentUpdates);
|
||||
regularInstalls = moveObtainiumToEnd(regularInstalls);
|
||||
silentUpdates = moveObtainiumToStart(silentUpdates);
|
||||
regularInstalls = moveObtainiumToStart(regularInstalls);
|
||||
|
||||
// TODO: Uncomment below if silentupdates are ever figured out
|
||||
// for (var u in silentUpdates) {
|
||||
|
@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 0.6.3+47 # When changing this, update the tag in main() accordingly
|
||||
version: 0.6.4+48 # When changing this, update the tag in main() accordingly
|
||||
|
||||
environment:
|
||||
sdk: '>=2.18.2 <3.0.0'
|
||||
|
Reference in New Issue
Block a user