use bevy::prelude::*;
use nano9::prelude::*;
fn main() -> Result<(), ConfigError> {
let content = include_str!("../assets/Nano9.toml");
let mut config = Config::from_str(content)?;
config.inject_template(None)?;
App::new()
.add_plugins(Nano9Plugins::new(config))
.add_systems(PreUpdate, run_pico8_when_loaded)
.run();
Ok(())
}