Skip to content

Commit 4038bf5

Browse files
committed
Nicer
1 parent b57783e commit 4038bf5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tools/assembly-store-reader-mk2/AssemblyStore/StoreReader_V2.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ string GetArchPath (AndroidTargetArch arch, string? root = null, bool embeddedBl
7575
root = LibDirName;
7676
}
7777
parts.Add (abi);
78-
parts.Add (
79-
embeddedBlob ? "libxamarin-app.so" : GetBlobName (abi)
80-
);
78+
parts.Add (GetBlobName (abi, embeddedBlob));
8179

8280
return MonoAndroidHelper.MakeZipArchivePath (root, parts);
8381
}
@@ -94,7 +92,7 @@ public StoreReader_V2 (Stream store, string path)
9492
};
9593
}
9694

97-
static string GetBlobName (string abi) => $"libassemblies.{abi}.blob.so";
95+
static string GetBlobName (string abi, bool embeddedBlob) => embeddedBlob ? "libxamarin-app.so" : $"libassemblies.{abi}.blob.so";
9896

9997
protected override ulong GetStoreStartDataOffset () => elfOffset;
10098

0 commit comments

Comments
 (0)