mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-14 23:53:14 +00:00
cc00f197dc
This PR refactors the `studio` project's entry-point functions for better maintainability and ease of use for local development. ### Overview * `start_internal` refactored to return a `bevy::app::App` instead of calling `App::run`, allowing for finer-grained configuration of unique use cases * Temporary `start` function added for WASM * `init` function removed * `main` standalone entry-point refactored to call `start_internal` ### Fixes * Crash on non-WASM builds due to missing `StudioMode` resource * Warning on non-WASM builds due to an unused variable