Skip to content

Commit

Permalink
fruity: Tweak ordering of system parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Jul 5, 2024
1 parent ea6307d commit 2a1a80a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/fruity/fruity-host-session.vala
Original file line number Diff line number Diff line change
Expand Up @@ -250,16 +250,16 @@ namespace Frida {
os["build"] = properties.get_string ("BuildVersion");
parameters["os"] = os;

parameters["platform"] = "darwin";

parameters["arch"] = properties.get_string ("CPUArchitecture").has_prefix ("arm64") ? "arm64" : "arm";

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

parameters["platform"] = "darwin";

parameters["arch"] = properties.get_string ("CPUArchitecture").has_prefix ("arm64") ? "arm64" : "arm";

parameters["access"] = "jailed";

parameters["name"] = properties.get_string ("DeviceName");
Expand Down

0 comments on commit 2a1a80a

Please sign in to comment.