--- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,7 @@ [workspace] members = ["game"] +# Browser build: the glitch crate is vendored in vendor/ (see prepare.sh), outside the workspace. +exclude = ["vendor"] resolver = "2" [profile.dev] @@ -10,6 +12,6 @@ [patch.crates-io] bevy_firework = { git = "https://github.com/DylanRJohnston/bevy_firework" } -bevy_video_glitch = { path = "../../github/bevy_video_glitch" } +bevy_video_glitch = { path = "vendor/bevy_video_glitch" } getrandom = { git = "https://github.com/rust-random/getrandom" } # bevy = { git = "https://github.com/bevyengine/bevy", branch = "release-0.16.1" } --- a/game/src/main.rs +++ b/game/src/main.rs @@ -61,7 +61,7 @@ app, TextFont::default().font, // "../assets/fonts/Neuropol X Rg.otf", - "../assets/fonts/LEMONMILK-Regular.otf", + "../assets/fonts/Michroma-Regular.ttf", |bytes: &[u8], _path: String| { Font::try_from_bytes(bytes.to_vec()).unwrap() } );