WeiDUorg / weidu

WeiDU is a program used to develop, distribute and install modifications for games based on the Infinity Engine.
http://www.weidu.org
GNU General Public License v2.0
90 stars 20 forks source link

Tilde character in mod names breaks WeiDU.log #121

Open Argent77 opened 6 years ago

Argent77 commented 6 years ago

WeiDU is currently ill-prepared when mods contain tilde characters (~) in their TP2 filename or mod folder name. The string is placed into the WeiDU.log as is. As a result WeiDU triggers a cryptic warning and silently removes the whole line and every line before from WeiDU.log in a subsequent install or uninstall operation.

There should be a way to add this character in a compatible way, e.g. by escaping the character or using a replacement code. Alternatively WeiDU could prevent problematic mods from being installed at all.