Skip to content

Portable mode #505

Description

@Seirade

Is your feature request related to a problem? Please describe.
Launcher currently leaves files and directories in a few places.

Describe the solution you'd like
All files and directories created by the application should be self-contained in the same directory, preferably the one defined as the "main" folder. This would allow you to easily move installations to another device by storing it on a USB drive, or even help keep settings such as session storage separate from multiple installations on the same device.

Describe alternatives you've considered
Packaging into a portable format such as PortableApps might suffice, but probably wouldn't be flexible for other use cases. Plus, it only works on Windows, which would make building releases more complicated for other platforms.

Additional context
List of directories:

  • %localappdata%/Temp/* - Creates files which are usually deleted on exit. It would be nice to relocate the directory used or not create them to begin with if possible.
  • %appdata%/Electron/* (%appdata%/flashpoint-launcher/* when built)

Others that might not be possible to move or disable:

  • %localappdata%/npm-cache/* - Configured via npm, only created when running dev, not built version.
  • %appdata%/Microsoft/Spelling/*

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions