Skip to content
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

[REQUEST] Portable mode #51

Open
1 task done
nero-0 opened this issue Aug 28, 2024 · 2 comments
Open
1 task done

[REQUEST] Portable mode #51

nero-0 opened this issue Aug 28, 2024 · 2 comments

Comments

@nero-0
Copy link

nero-0 commented Aug 28, 2024

  • I have searched and found no existing issues on the same topic

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

  • No need to use an installer;
  • Ability to use the .zip archive without spreading folders across the system, such as AppData and similar locations;
  • Transfer to any other device or location simply by moving its folder;
  • Run from a removable device, such as a USB stick.

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: Legcord/Legcord#280

Thanks for reading.

@Milkshiift
Copy link
Owner

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

@nero-0
Copy link
Author

nero-0 commented Sep 10, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants