Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Revert "fix(manager): update loader failed due to outdated origin apk…
Browse files Browse the repository at this point in the history
… filename (#253)"

This reverts commit 768d335.
  • Loading branch information
JasonKhew96 authored Nov 11, 2023
1 parent 531acdb commit 6a9afc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class AppManageViewModel : ViewModel() {
for (apk in apkPaths) {
ZipFile(apk).use { zip ->
var entry = zip.getEntry(Constants.ORIGINAL_APK_ASSET_PATH)
if (entry == null) entry = zip.getEntry("assets/lspatch/origin.apk")
if (entry == null) entry = zip.getEntry("assets/lspatch/origin_apk.bin")
if (entry == null) throw FileNotFoundException("Original apk entry not found for $apk")
zip.getInputStream(entry).use { input ->
val dst = lspApp.tmpApkDir.resolve(apk.substringAfterLast('/'))
Expand Down

0 comments on commit 6a9afc2

Please sign in to comment.