crankstart
crankstart copied to clipboard
Assets are inaccessible when Crank.toml project name includes a hyphen
Steps to reproduce (have only tested on Windows):
- Clone the
crankstartrepo - Run
cargo clean - Run
crank run --release --example hello_world - Project should launch successfully in the simulator
- Change the project name in
Crank.tomlfromhello_worldtohello-world - Run
cargo cleanagain - Run
crank run --release --example hello_worldagain - Game fails to launch with
Got error while creating game: file examples/assets/heart not found: No such file
Happy to document this in the README in the meantime if anyone else can reproduce the problem.
Thanks! I totally agree. This should be fixed and mentioned in README before.