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
Config files/directories don't get generated #144
Comments
Thank you for the issue! This issue will be addressed in a reasonable amount of time. |
I should be able to fix this within the hour or so. Time to make a Windows VM. Thanks for the issue! |
Sorry, took me a while to set up my VM, but I just realized the issue is to do with your version. The main branch is the latest branch, which is currently in alpha and is unstable. If you'd like the latest release (as of this date), you can install it through I'm not sure why I decided to develop the alpha on the main branch such a long time ago, since on other projects that's not what I do. |
If upgrading the crate fixed the problem, please close this issue. Have a good one! |
I should have thought of that. I've run into this problem before. The directions from the stable version worked out just fine, thanks! The alpha version actually has its own problem, although it did create the thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }', C:\Users\ME\.cargo\registry\src\github.com-1ecc6299db9ec823\twitch-tui-2.0.0-alpha.3\src\handlers\config.rs:120:63 |
Oh dear. I'll be sure to fix that up as well. |
I can see why the file wasn't copied. The binary doesn't contain the config template, for reasons that should've been obvious to me at first sight. Time to modify this line to instead fetch from GitHub. |
Describe the bug:
In step 3, from the README, it says that the default configuration paths get generated, but that wasn't the case when running it on Windows 10. Instead, this is what I get below.
Configuration not found. Create a config file at 'C:\Users\ME\AppData\Roaming\twt\config.toml', and see 'https://github.com/Xithrius/twitch-tui/blob/main/default-config.toml' for an example configuration.
To Reproduce:
twt
using cargo install.twt
in the terminal, from README step 3.APPDATA
to get to configurations, given thetwt
directory.The directory and config file(s) isn't there. I checked all the directories in my
~/AppData
, just in case and found nothing. Even checked~/.config
, although this is a Windows machine so there shouldn't be anything there.Expected behavior:
I expected a directory at
%APPDATA%\twt
(PowerShell:$env:APPDATA\twt
).Screenshots:
System:
Additional context:
Add any other context about the problem here.
I use the same context on Linux machines, which is why I have directories like
~/.config
.The text was updated successfully, but these errors were encountered: