fn execute_build_command(
profile_name: &str,
config: &LandConfig,
env_vars: &HashMap<String, String>,
build_args: &[String],
) -> Result<(), String>Expand description
Execute the build command with dual-path environment injection.
This function:
- Calls the Maintain binary in legacy mode with merged environment variables
- The Maintain binary’s Process() function generates the extensive product name
- The Process() function updates tauri.conf.json with the generated name
- The actual tauri build command is executed
§Arguments
profile_name- The resolved profile nameconfig- Land configurationenv_vars- Merged environment variables from all sourcesbuild_args- Additional build arguments
§Returns
Result indicating success or failure