You are here

LaunchNow's Delete "$SETTINGSDIRECTORY\ClamWin.conf"

2 posts / 0 new
Last post
lwc
Offline
Last seen: 1 week 4 days ago
Translator
Joined: 2006-04-26 06:35
LaunchNow's Delete "$SETTINGSDIRECTORY\ClamWin.conf"

Why is it needed when UpdateSettings already contains
Rename "$SETTINGSDIRECTORY\ClamWin.conf" "$PROGRAMDIRECTORY\ClamWin.conf"
?
(Rename=move and UpdateSettings always runs before LaunchNow)

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 43 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Two Copies

This is to allow for two copies. If it exists in both places, the rename settings to program will fail. The copy in program will be used as it is run (which it should be since this was the last one used by the user). Then, on exit, the extra one in settings is deleted and the one from programs is copied back. If you're referring to the multiple instances issue, this will be locked out in the next release. As this is related to your other topic, please keep comments in that thread only.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments