felony icon indicating copy to clipboard operation
felony copied to clipboard

Allow user specific installation path (portable app)

Open aureq opened this issue 9 years ago • 2 comments

Hi,

It would be really useful to allow users to specify the installation path so it can be installed onto an (encrypted) usb/remote disk.

Thanks

aureq avatar Jul 04 '16 23:07 aureq

Note that adding the ability to set an install directory (i.e. on windows, with an MSI flag /InstallDir) only encapsulates the location in which the physical binaries are placed. An installer often will a: place things in %APPDATA% or %PROGRAMDATA% (e.g. for settings that vary from user to user, or temporary files), along with things like adding registry keys.

Similar issues exist on OS X and *nix, where you'll have things added to /home/user/.app/.config

In order to make a fully portable application, everything must be self-contained (and, due to the nature of this application, careful attention must be placed re: clearing out %TEMP% and %APPDATA% on Windows, and /tmp/* on *nix -- ideally not using them at all, as that opens up a lot of potential local vulnerability issues.)

(On the upside, this is Electron based so self-containing should be fairly easy).

xornand avatar Jul 05 '16 00:07 xornand

this sounds like a cool feature! right now we're working on getting everything stabilized for 1.0, but we'll definitely consider working on this for v2 :)

heysanil avatar Aug 09 '16 05:08 heysanil