spaam/svtplay-dl

`svtplay-dl.yaml` in current directory

Opened this issue · 5 comments

Sopor commented

Appdata is a hidden directory in Windows and it is not always easy to find it for everyone, so why not make it possible to have svtplay-dl.yaml in the same directory as svtplay-dl.exe and make it override %appdata%\svtplay-dl\svtplay-dl.yaml if it exists?

sure its hidden. but having it in same directory is not something that will be sopported. other apps dont do that.

then it comes to maybe store it in %UserProfile%\Documents but it will work fine for english locale in windows. will it work for swedish version, danish or some other language? i dont know. my windows install to use british english. if its the same for all languages i will add support for it. if not people will have to deal with appdata

A portable applications have everything in the same directory.

You must agree that svtplay-dl counts as a portable application...

sure they have everything in the same directory but im not sure about the config part 🤔

sure they have everything in the same directory but im not sure about the config part 🤔

I'd say it's not really portable if you need to move the config separately. Kind of contradicts the reason to want it portable.

sure its hidden. but having it in same directory is not something that will be sopported. other apps dont do that.

And that's exactly what other apps do support.
Look at KeePass for example. Or Rufus. Or YouTube-DL / yt-dlp.

Similarly, the standard in macOS would be to have the ".svtplay-dl.yaml" file on ~/.config/svtplay-dl. yt-dlp stores it this way for example, but so does just about every utility that isn't a bundled app goes there (apps use ~/Library/Application Support/appname/).

It took me a while to find it.