dannagle / PacketSender

Network utility for sending / receiving TCP, UDP, SSL, HTTP
https://packetsender.com
GNU General Public License v2.0
2.38k stars 371 forks source link

Do not include ps_settings.ini in the portable version #204

Closed Sopor closed 2 years ago

Sopor commented 4 years ago

What OS?

Description of issue

I'm running the portable version of Packetsender and I noticed that the file ps_settings.ini was included in the PacketSenderPortable_v7.0.6.zip. That isn't a very good idea to include that file because if I take the whole package and overwrite my existing files, I will lose my ps_settings.ini settings.

The file is 0 byte so it would be much better to not include the file and create the file when it is needed.

dannagle commented 4 years ago

The workflow I envisioned was the user copying their settings and data to the new portable. I did not think about users copying the other direction. I can see the need to support either. Thanks for the suggestion.

dannagle commented 3 years ago

Just giving you a quirk warning. A new release is coming soon. I think this is a great idea, but unfortunately, it did not make into this release. My plan is to get it into the following one.

Thanks again for the input.

dannagle commented 2 years ago

This is now fixed in the development branch. The magic file is called portablemode.txt. If that exists, Packet Sender will run in portable mode and generate any needed files that are missing.