Milkshiift / GoofCord

:shield: Take control of your Discord experience with GoofCord – a highly configurable and privacy minded discord client.
Open Software License 3.0
239 stars 8 forks source link

[REQUEST] Portable mode #51

Open nero-0 opened 2 months ago

nero-0 commented 2 months ago

Description

I would like the program to have the possibility to run in portable mode, meaning it should create all the files it uses within a directory in its root folder/next to the executable.

Use Case

Describe alternatives you've considered

You can achieve a similar effect by using the --user-data-dir flag, since GoofCord uses electron.

Additional context

Even though the aforementioned workaround exists, it's good to have something "native" and simple to use.

ArmCord has this capability; if it finds a folder named armcord-data within the program's root directory, it will use it to store its files. Since GoofCord is based on it, implementing this feature might not be too difficult. You can check the PR here: https://github.com/ArmCord/ArmCord/pull/280

Thanks for reading.

Milkshiift commented 1 month ago

What do you think would be the most convenient solution? The way ArmCord did it, a settings option, or something else?

nero-0 commented 1 month ago

I think the way ArmCord does it is good enough. I'm not sure if a setting for this would be effective, unless upon opening the program, no files are created immediately, allowing the possibility to enable a setting to activate portable mode before that happens. In this case, a setting would be great, as it would automate things (e.g. creating the necessary folder to store the files).