Files
bevy_cef/crates/bevy_cef_debug_render_process/src/main.rs
elm 231c44995b Update CEF version to 144.2.0+144.0.11 (#14)
* update: enable message loop work for Windows and Linux

* update: upgrade Bevy to version 0.18 and adjust asset loader for path handling

* update: rename bevy_picking to picking in Cargo.toml

* update: remove pull_request trigger from CI and change AmbientLight to GlobalAmbientLight

* update: remove demo example from workspace and exclude it from tests

* update: remove demo package from Cargo.lock

* update: refactor paths and dependencies for Chromium Embedded Framework integration

* fmt

* update: remove unnecessary type casting for event flags in mouse and keyboard handling

* update: remove unnecessary type casting for event flags in mouse and keyboard handling

* update: comment out GPU-related command line switches in app.rs

* update: allow unnecessary cast lint warning in mouse button modifiers test

---------

Co-authored-by: not-elm <elmgameinfo@gmail.com>
2026-01-29 00:19:54 +09:00

21 lines
476 B
Rust

use bevy_cef_core::prelude::*;
use cef::{args::Args, *};
fn main() {
let args = Args::new();
#[cfg(target_os = "macos")]
let _loader = {
let loader = DebugLibraryLoader::new();
assert!(loader.load());
loader
};
let _ = api_hash(sys::CEF_API_VERSION_LAST, 0);
let mut app = RenderProcessAppBuilder::build();
execute_process(
Some(args.as_main_args()),
Some(&mut app),
std::ptr::null_mut(),
);
}