Stuff
Some checks failed
book / deploy (push) Has been cancelled
CI / test (macos-latest) (push) Has been cancelled
CI / test (ubuntu-latest) (push) Has been cancelled
CI / test (windows-latest) (push) Has been cancelled
CI / all-doc-tests (push) Has been cancelled
CI / lint (push) Has been cancelled
Some checks failed
book / deploy (push) Has been cancelled
CI / test (macos-latest) (push) Has been cancelled
CI / test (ubuntu-latest) (push) Has been cancelled
CI / test (windows-latest) (push) Has been cancelled
CI / all-doc-tests (push) Has been cancelled
CI / lint (push) Has been cancelled
This commit is contained in:
@@ -12,7 +12,13 @@ fn main() {
|
||||
App::new()
|
||||
.add_plugins((
|
||||
DefaultPlugins,
|
||||
CefPlugin::default(),
|
||||
CefPlugin {
|
||||
command_line_config: CommandLineConfig {
|
||||
switches: ["--in-process-gpu", "--no-sandbox"].to_vec(),
|
||||
..Default::default()
|
||||
},
|
||||
..Default::default()
|
||||
},
|
||||
WebviewExtendMaterialPlugin::<CustomExtension>::default(),
|
||||
))
|
||||
.add_systems(Startup, (spawn_camera, spawn_webview))
|
||||
|
||||
@@ -10,7 +10,16 @@ use bevy_cef::prelude::*;
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
.add_plugins((DefaultPlugins, CefPlugin::default()))
|
||||
.add_plugins((
|
||||
DefaultPlugins,
|
||||
CefPlugin {
|
||||
command_line_config: CommandLineConfig {
|
||||
switches: ["--in-process-gpu"].to_vec(),
|
||||
..Default::default()
|
||||
},
|
||||
..Default::default()
|
||||
},
|
||||
))
|
||||
.add_systems(
|
||||
Startup,
|
||||
(spawn_camera, spawn_directional_light, spawn_webview),
|
||||
|
||||
@@ -5,7 +5,14 @@ use bevy_cef::prelude::*;
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
.add_plugins((DefaultPlugins, CefPlugin::default()))
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_plugins(CefPlugin {
|
||||
command_line_config: CommandLineConfig {
|
||||
switches: ["--no-zygote", "--no-sandbox"].to_vec(),
|
||||
..Default::default()
|
||||
},
|
||||
..Default::default()
|
||||
})
|
||||
.add_systems(
|
||||
Startup,
|
||||
(spawn_camera, spawn_directional_light, spawn_webview),
|
||||
|
||||
Reference in New Issue
Block a user