Skip to content

Commit

Permalink
Log installs (#1924)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImranR98 committed Nov 1, 2024
1 parent e44f77a commit dfbf9e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/providers/apps_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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())) {
Expand Down

0 comments on commit dfbf9e9

Please sign in to comment.