Skip to content

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

@AdamBlance

Description

@AdamBlance

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions