How to expose properties to scripting api #7164
ekolve
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking to expose a few parameters in UTM to the scripting API. I took a look at a recent PR #6978 and essentially mirrored that to expose one new parameter on the apple configuration: config.virtualization.hasAudio. The changes I made are here: ekolve@da6f087
The code compiles, but the new property isn't exposed in the config to the scripting interface (I tried with a simple applescript to look at the config and it wasn't there). Any idea why that would be?
Beta Was this translation helpful? Give feedback.
All reactions