-
Notifications
You must be signed in to change notification settings - Fork 272
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
Remove Emply Directories on Exit #248
Comments
Who doesn't love leftovers!? They are delicious! Seriously you are asking for my VOLENTEER TIME here. I don't care. You care. Put some effort in -- include a screen shot at least. Closing. |
It's your call, but a screenshot of folders? The fact that they exist is the issue, not how they look. |
Your request was not clear -- "leftovers" could mean many things. Now I understand you mean leaving empty directories. |
that don't exist unless it's the DEFAULT directory.
@lwcorp you can try the new release with this feature here: https://ci.appveyor.com/api/buildjobs/58y5ayui60iuepov/artifacts/PapercutSMTP-win-x64-dev-Portable.zip |
Sure, unfortunately it still leaves items 1.1, 1.2 and 1.4 above (I've retroactively added 1.4 to the OP since I've just noticed it). Why not just put them in the program's own folder and make it 100% portable? Also, why does this experimental release has many warnings in VirusTotal while the official release has just 1? |
Short answer: permission problems. Originally Papercut just created one directory in its own directory. But there were permission issues for some so I moved to system-approved locations. Maybe a portable-friendly version that includes a modified app.config would work:
It's not a simplistic thing to get right. Many issues have been created about this over the years. Plus there are upgrading users to think of: if they upgrade and all their email (because directory search paths aren't there anymore), it's a confusing experience.
I'm using a new installation system called Velopack (https://github.com/velopack/velopack). Those are false positives as it only flags the "bootstrap exe" that Velo creates. I appreciate the heads up about this as I'll need to figure out a solution... I could code-sign it but it's expensive and time-consuming. Will need to put time into looking into options. It may be simpler just to go "Portable Release Only" here. No more installers. |
Looks like a good idea, but maybe also provide an alternate way using a command line parameter like |
Describe the bug
Though there's no portable version per-se (#83), both the client and server can be run without installing anything. Problem is they leave leftovers, but it can be easily fixed.
To Reproduce
Steps to reproduce the behavior:
1.1
%localappdata%\Changemaker_Studios
1.2
%appdata%\Changemaker Studios
1.3
%appdata%\Papercut
1.4
%ProgramData%\Changemaker Studios
Expected behavior
Delete any leftovers upon exit.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: