To filter data in my app by OS, version and architecture I used os_info::get() this is what calls the console, now I use the plugin https://v2.tauri.app/plugin/os-info/ and everything is fine
os_info::get()