Skip to content

Commit

Permalink
Move into a hardware vardict
Browse files Browse the repository at this point in the history
And drop HWModelStr, which we so far have confirmed missing on iOS 15,
17, and 18.

Co-authored-by: Håvard Sørbø <[email protected]>
  • Loading branch information
oleavr and hsorbo committed Jul 3, 2024
1 parent ac889cb commit d19c3fb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/fruity/fruity-host-session.vala
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,10 @@ namespace Frida {
os["build"] = properties.get_string ("BuildVersion");
parameters["os"] = os;

parameters["model"] = properties.get_string ("ProductType");
parameters["hwmodel"] = properties.get_string ("HWModelStr");
parameters["hwplatform"] = properties.get_string ("HardwarePlatform");
var hardware = new HashTable<string, Variant> (str_hash, str_equal);
hardware["id"] = properties.get_string ("ProductType");
hardware["platform"] = properties.get_string ("HardwarePlatform");
parameters["hardware"] = hardware;

parameters["platform"] = "darwin";

Expand Down

0 comments on commit d19c3fb

Please sign in to comment.