saturneric / GpgFrontend

A free, open-source, robust yet user-friendly, compact and cross-platform tool for OpenPGP encryption. It stands out as an exceptional GUI frontend for the modern GnuPG (gpg).
https://gpgfrontend.bktus.com
GNU General Public License v3.0
450 stars 43 forks source link

Is there a way to specify the data directory? #125

Closed FloraMaeWolfe closed 6 months ago

FloraMaeWolfe commented 6 months ago

Is there a way to specify the data directory?

Example, the windows "portable" zip puts the data in the usual place which is not really portable. Is there a command line option or other method to specify the location of the data directory?

I'm also curious for Linux too.

saturneric commented 6 months ago

Unfortunately, not yet. But I''ve just added a function that can switch data and config path to a relative path at start. I call it PORTABLE mode. Enable it just by placing an empty file named "PORTABLE.txt" under the directory where the binary executable of GpgFrontend located.

Any advice?

saturneric commented 6 months ago

This portable mode is added to the current develop source code. It will take effect at v2.1.2. 36509c76e

Unfortunately, not yet. But I''ve just added a function that can switch data and config path to a relative path at start. I call it PORTABLE mode. Enable it just by placing an empty file named "PORTABLE.txt" under the directory where the binary executable of GpgFrontend located.

Any advice?