crankstart icon indicating copy to clipboard operation
crankstart copied to clipboard

Assets are inaccessible when Crank.toml project name includes a hyphen

Open AdamBlance opened this issue 1 year ago • 1 comments

Steps to reproduce (have only tested on Windows):

  1. Clone the crankstart repo
  2. Run cargo clean
  3. Run crank run --release --example hello_world
  4. Project should launch successfully in the simulator
  5. Change the project name in Crank.toml from hello_world to hello-world
  6. Run cargo clean again
  7. Run crank run --release --example hello_world again
  8. 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.

AdamBlance avatar Apr 06 '24 17:04 AdamBlance

Thanks! I totally agree. This should be fixed and mentioned in README before.

boozook avatar Apr 06 '24 21:04 boozook