mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-19 05:00:21 +02:00
Workaround for version detection error in BG
This commit is contained in:
@@ -428,8 +428,12 @@ class AppsProvider with ChangeNotifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<bool> doesInstalledAppsPluginWork() async {
|
Future<bool> doesInstalledAppsPluginWork() async {
|
||||||
bool res =
|
bool res = false;
|
||||||
(await InstalledApps.getAppInfo(obtainiumId)).versionName != null;
|
try {
|
||||||
|
res = (await InstalledApps.getAppInfo(obtainiumId)).versionName != null;
|
||||||
|
} catch (e) {
|
||||||
|
//
|
||||||
|
}
|
||||||
if (!res) {
|
if (!res) {
|
||||||
logs.add(tr('versionCorrectionDisabled'));
|
logs.add(tr('versionCorrectionDisabled'));
|
||||||
}
|
}
|
||||||
|
@@ -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.8.10+73 # When changing this, update the tag in main() accordingly
|
version: 0.8.10+74 # When changing this, update the tag in main() accordingly
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.18.2 <3.0.0'
|
sdk: '>=2.18.2 <3.0.0'
|
||||||
|
Reference in New Issue
Block a user