mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-23 02:43:46 +02:00
Merge pull request #931 from ImranR98/dev
Fix major GitHub bug from previous release (#929)
This commit is contained in:
@@ -269,6 +269,8 @@ class GitHub extends AppSource {
|
|||||||
? DateTime.parse(rel['published_at'])
|
? DateTime.parse(rel['published_at'])
|
||||||
: null;
|
: null;
|
||||||
if (dontSortReleasesList) {
|
if (dontSortReleasesList) {
|
||||||
|
releases = releases.reversed.toList();
|
||||||
|
} else {
|
||||||
releases.sort((a, b) {
|
releases.sort((a, b) {
|
||||||
// See #478 and #534
|
// See #478 and #534
|
||||||
if (a == b) {
|
if (a == b) {
|
||||||
|
@@ -19,7 +19,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart';
|
|||||||
// ignore: implementation_imports
|
// ignore: implementation_imports
|
||||||
import 'package:easy_localization/src/localization.dart';
|
import 'package:easy_localization/src/localization.dart';
|
||||||
|
|
||||||
const String currentVersion = '0.14.18';
|
const String currentVersion = '0.14.19';
|
||||||
const String currentReleaseTag =
|
const String currentReleaseTag =
|
||||||
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES
|
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES
|
||||||
|
|
||||||
|
@@ -1119,7 +1119,6 @@ class AppsProvider with ChangeNotifier {
|
|||||||
logs.add('Skipping auto-export as dir is not set.');
|
logs.add('Skipping auto-export as dir is not set.');
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
logs.add('Started auto-export.');
|
|
||||||
var files = await saf
|
var files = await saf
|
||||||
.listFiles(exportDir, columns: [saf.DocumentFileColumn.id])
|
.listFiles(exportDir, columns: [saf.DocumentFileColumn.id])
|
||||||
.where((f) => f.uri.pathSegments.last.endsWith('-auto.json'))
|
.where((f) => f.uri.pathSegments.last.endsWith('-auto.json'))
|
||||||
@@ -1128,7 +1127,6 @@ class AppsProvider with ChangeNotifier {
|
|||||||
for (var f in files) {
|
for (var f in files) {
|
||||||
saf.delete(f.uri);
|
saf.delete(f.uri);
|
||||||
}
|
}
|
||||||
logs.add('Previous auto-export deleted.');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (exportDir == null || pickOnly) {
|
if (exportDir == null || pickOnly) {
|
||||||
|
@@ -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
|
# 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
|
# 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.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 0.14.18+210 # When changing this, update the tag in main() accordingly
|
version: 0.14.19+211 # When changing this, update the tag in main() accordingly
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
|
Reference in New Issue
Block a user