mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-25 11:53:45 +02:00
Add support for zipped APKs - GitHub/HTML only for now (#983)
This commit is contained in:
@@ -203,11 +203,11 @@ class AddAppPageState extends State<AddAppPage> {
|
||||
notificationsProvider: notificationsProvider,
|
||||
);
|
||||
DownloadedApk? downloadedFile;
|
||||
DownloadedXApkDir? downloadedDir;
|
||||
DownloadedDir? downloadedDir;
|
||||
if (downloadedArtifact is DownloadedApk) {
|
||||
downloadedFile = downloadedArtifact;
|
||||
} else {
|
||||
downloadedDir = downloadedArtifact as DownloadedXApkDir;
|
||||
downloadedDir = downloadedArtifact as DownloadedDir;
|
||||
}
|
||||
app.id = downloadedFile?.appId ?? downloadedDir!.appId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user