Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AdamBlance opened this issue Apr 6, 2024 · 1 comment

Comments

@AdamBlance
Copy link

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.

@boozook
Copy link
Member

boozook commented Apr 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants