Formats: Add DefaultFilename property

This commit is contained in:
Katy Coe
2020-12-09 17:34:38 +01:00
parent 90fa9cf193
commit 7e25fa9d1d
8 changed files with 18 additions and 0 deletions

View File

@@ -77,6 +77,8 @@ namespace Il2CppInspector
protected MachOReader(Stream stream) : base(stream) { }
public override string DefaultFilename => "app";
public override string Format => "Mach-O " + (Bits == 32 ? "32-bit" : "64-bit");
public override string Arch => (MachO)header.CPUType switch