#[cef_entry_point]Expand description
Marks the application entry point so non-browser CEF processes (renderer, GPU, …) are handled. Mark a function as the CEF entry point. It creates a main function that only runs the provided function for the browser process, and runs the CEF helper process for other processes (renderer, GPU, plugin, etc.).
§Examples
ⓘ
use tauri_macros::cef_entry_point;
#[cef_entry_point]
fn main() {
// Your app initialization code here
// This will only run for the browser process
}§Stability
The output of this macro is managed internally by Tauri, and should not be accessed directly on normal applications. It may have breaking changes in the future.