Function tauri_utils::config::parse::read_from
source ยท pub fn read_from(root_dir: PathBuf) -> Result<Value, ConfigError>
Expand description
Reads the configuration from the given root directory.
It first looks for a tauri.conf.json[5]
file on the given directory. The file must exist.
Then it looks for a platform-specific configuration file:
tauri.macos.conf.json[5]
on macOStauri.linux.conf.json[5]
on Linuxtauri.windows.conf.json[5]
on Windows Merging the configurations using JSON Merge Patch (RFC 7396).