Skip to content

Commit

Permalink
fruity: Add ProductType to query_system_parameters as "model".
Browse files Browse the repository at this point in the history
  • Loading branch information
as0ler committed Jun 14, 2024
1 parent 4b5fe35 commit 57173b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fruity/fruity-host-session.vala
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,8 @@ namespace Frida {
os["version"] = properties.get_string ("ProductVersion");
parameters["os"] = os;

parameters["model"] = properties.get_string ("ProductType");

parameters["platform"] = "darwin";

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

0 comments on commit 57173b7

Please sign in to comment.