mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-31 04:50:16 +02:00
Log installs (#1924)
This commit is contained in:
@@ -700,6 +700,8 @@ class AppsProvider with ChangeNotifier {
|
||||
}
|
||||
}
|
||||
PackageInfo? appInfo = await getInstalledInfo(apps[file.appId]!.app.id);
|
||||
logs.add(
|
||||
'Installing "${newInfo.packageName}" version "${newInfo.versionName}" versionCode "${newInfo.versionCode}"${appInfo != null ? ' (from existing version "${appInfo.versionName}" versionCode "${appInfo.versionCode}")' : ''}');
|
||||
if (appInfo != null &&
|
||||
newInfo.versionCode! < appInfo.versionCode! &&
|
||||
!(await canDowngradeApps())) {
|
||||
|
Reference in New Issue
Block a user