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

Portable Mode #81

Closed
smaragdus opened this Issue Jul 21, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@smaragdus
Copy link

smaragdus commented Jul 21, 2018

Currently (as of version 0.4.0.2 Beta) EncryptPad saves configuration file (encryptpad.ini) in user profile folder:

C:\Users\User\_encryptpad\encryptpad.ini

I need a way to save configuration file in program folder (where is the executable- encryptpad.exe). There may be different possible solutions:

  • command-line argument- for example encryptpad.exe -portable forces EncryptPad to save settings in program folder;
  • on program start EncryptPad checks program folder for configuration file (encryptpad.ini) and if available, it loads settings from it;
  • portable flag in program folder forces portable mode (configuration file saved in program folder);

Any of these options would be fine for me if I can keep program and configuration together (true portable mode- nothing is written outside program folder).

@evpo

This comment has been minimized.

Copy link
Owner

evpo commented Jul 22, 2018

There is also an example of portability requirements at this link: https://www.portablefreeware.com/faq.php#seven

@smaragdus

This comment has been minimized.

Copy link
Author

smaragdus commented Jul 22, 2018

@evpo

I forgot to mention one more possible way of triggering portable mode:

  • a specific sub-folder in program folder, for example data, forces the program to save configuration file inside it;

The good about this option is that data and settings, being isolated in a single sub-folder, are easy to back-up and program update is not problematic. A couple of examples of programs which initiate portable mode that way- ghostwriter (see Portable Mode) and Vacuum-IM (see Portable Version).

I prefer portable programs for several reasons:

  • portable programs are easy to back-up;
  • one can easily transfer portable programs with all their data and settings from one machine to another (no need to export registry keys, to dig into AppData which is usually a junk-yard);
  • portable programs (usually) do not leave any traces and junk behind;
  • with portable programs one can use different versions with different settings (even the same version with different settings)- this is very handy with testing and bug-hunting;

Having in mind the nature of the program for me full portability will be a must (at least on Windows).

You referred to The Portable Freeware- actually your program has already been reviewed there- it was in my review list but someone else posted about it, So if you decide to add an option to run EncryptPad in portable mode most likely it will be submitted to the database- I have already added a somewhat similar program (but not cross-platform like EncryptPad)- Crypto Notepad, to The Portable Freeware database so if EncryptPad supports portable mode I will gladly add it to the database myself- I have several reasons to prefer EncryptPad to other similar programs- cross-platform, light, written in C++, no dependencies (Java, .NET, Electron), etc.

@mva1985

This comment has been minimized.

Copy link

mva1985 commented Jul 28, 2018

I myself like to use portable apps and think it would add greatly to EncryptPad

@evpo

This comment has been minimized.

Copy link
Owner

evpo commented Sep 8, 2018

There have been some progress on this issue. We published a development release. See the links below:

  1. Instructions
  2. Development release

@evpo evpo added this to the 0.4.0.4 milestone Sep 11, 2018

@evpo

This comment has been minimized.

Copy link
Owner

evpo commented Sep 16, 2018

Public release with this feature has been published:

https://github.com/evpo/EncryptPad/releases/tag/v0.4.0.4

I am closing the issue.

@evpo evpo closed this Sep 16, 2018

@smaragdus

This comment has been minimized.

Copy link
Author

smaragdus commented Sep 17, 2018

@evpo

Thank you for adding an option to run EncryptPad in portable mode, I tested version 0.4.0.4 and it worked as expected. I notified The Portable Freeware community about the portable mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.