pub fn add_file_select(key: &str, description: &str)
Expand description
Adds a new file select setting that the user can modify. This allows the
user to choose a file from the file system. The key is used to store the
path of the file in the settings map and needs to be unique across all types
of settings. The description is what’s shown to the user. The path is a path
that is accessible through the WASI file system, so a Windows path of
C:\foo\bar.exe
would be stored as /mnt/c/foo/bar.exe
.