BKSalman / ytdlp-gui

a very simple GUI for ytdlp written in Rust
GNU General Public License v3.0
275 stars 16 forks source link

Portable Software #36

Open megabugman opened 1 month ago

megabugman commented 1 month ago

Hey, plz consider making a portable version of the software where the logs and settings file are stored where the main executable file is for better portability. ATM, the %appdata& folder is used, which makes it difficult to use on other computers, e.g. with a USB stick.

BKSalman commented 1 month ago

I'm assuming you're using windows, I don't know how it's done on windows but the only thing I can help with is adding a cli flag to my application that you can pass to it and specify the place of the config file (something like --config-dir . for current directory), then you have to somehow create a custom executable that runs my application with that flag (this is the part that I can't help with)

And also you need to package ffmpeg and yt-dlp with it somehow, since it's not part of the application's executable, it calls it externally

megabugman commented 1 month ago

I'm not sure if there's a misunderstanding here, I'm requesting for portable software like this: https://portableapps.com/

BKSalman commented 1 month ago

I don't really understand what this page is

megabugman commented 1 month ago

The page offers a portable version of popular software. Portable means the program settings are saved in the same folder in ini files or similar, but not in the Windows Registry or AppData or Program Files Folder.

BKSalman commented 1 month ago

By adding a cli flag to the application that specifies the location of the configuration files, you can basically do whatever you want, you can have the same application be either portable or not portable.

but the issue that you will still face is having to also include ffmpeg and yt-dlp with the application which I can't help with since I don't use windows