Skip to content

"soundboards directory is mandatory" but maybe cargo install could create a default directory #41

@mdtrooper

Description

@mdtrooper

My first run fails:

$ soundboard 
[2021-02-25T11:25:24Z INFO  soundboard::app_config] Loaded config file from None
[2021-02-25T11:25:24Z ERROR soundboard] 
    soundboard encountered an fatal error:
      Description:
        failed to load soundboards: could not find soundboards directory at one of the following locations:
                relative_from_exe: /home/miguel/.cargo/bin/soundboards
                config_dir_path1: /home/miguel/.config/soundboard/soundboards
                config_dir_path2: /home/miguel/.config/soundboard/soundboards
                home_dir_path: /home/miguel/.soundboard/soundboards
      Location:
        panic occurred in file '/home/miguel/.cargo/registry/src/github.com-1ecc6299db9ec823/soundboard-0.1.1/src/soundboards.rs' at line 36
      Additional:
        If unexpected please file a bug report at https://github.com/gamebooster/soundboard/issues

Yes, I read necesary a soundboards directory, but maybe it is good idea to create a default directory with the same content of soundboards directory from the git.

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