You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added discrakt.exe in my PATH but running it gave me this error:
> discraktthread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "couldn't open credentials.ini: The system cannot find the file specified. (os error 2)"', src\utils.rs:13:36note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The credentials.ini file is inside the discrakt folder, and indeed changing my directory to that folder works. Discrakt should try to find credentials.ini relative to the executable path and instead on the current working directory.
🪜 Steps To Reproduce
Configure credentials.ini
Add discrakt.exe to the PATH
Running discrakt will fail anywhere except in the executable directory
The text was updated successfully, but these errors were encountered:
sitiom
changed the title
Discrakt should find credentials.ini relative to executable path and not on the current working directory
Discrakt should find credentials.ini relative to executable path and instead of the current working directory
Jan 21, 2023
🔍 Is there already an issue for your problem?
📝 Description
I have added
discrakt.exe
in my PATH but running it gave me this error:The
credentials.ini
file is inside the discrakt folder, and indeed changing my directory to that folder works. Discrakt should try to findcredentials.ini
relative to the executable path and instead on the current working directory.🪜 Steps To Reproduce
credentials.ini
discrakt.exe
to the PATHdiscrakt
will fail anywhere except in the executable directoryℹ System Info
Note: Compiled it myself because of #45
📸 Screenshots
No response
The text was updated successfully, but these errors were encountered: