Skip to content

Add an AppleScript command to reload machine configuration from disk#7711

Open
GregOriol wants to merge 1 commit into
utmapp:mainfrom
GregOriol:feat/scripting-reload-configuration
Open

Add an AppleScript command to reload machine configuration from disk#7711
GregOriol wants to merge 1 commit into
utmapp:mainfrom
GregOriol:feat/scripting-reload-configuration

Conversation

@GregOriol
Copy link
Copy Markdown

In some scripting scenarios, we would like to change the config.plist file, advanced config editing that would be too difficult to run with normal AppleScript configuration commands. However, editing the file on disk doesn't make UTM use it because it only re-reads it from disk in some specific situations (like machine settings -> cancel).

This adds an AppleScript reload configuration command to make UTM re-read the configuration from disk, and thus incorporate any change that would have been made there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant