You are here

[Fixed] WackGet path replacement

5 posts / 0 new
Last post
prapper
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2008-01-24 17:01
[Fixed] WackGet path replacement
[FileWrite2]
Type=Replace
File=%PAL:DataDir%\settings\WackGet.reg
Find=="%PAL:LastPortableAppsBaseDir:DoubleBackslash%
Replace=="%PAL:LastPortableAppsBaseDir:DoubleBackslash%

It would replace exactly what it found but it doesn't work anyway because of the ==

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 53 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
By Design

This is as designed because using the = as part of the replacement string is the only way to ensure it is unique for all paths.

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

prapper
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2008-01-24 17:01
Well I see what you mean

Well I see what you mean (although it's fine without the extra =") but Find & Replace are set to the same variable so it's definitely not working.

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

It's a worry without the = as when Base is the drive letter, it could replace other things in the file we don't want replaced. You're right on the other part, I'll get a fix out.

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

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 53 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in 1.2.4 Rev 2

This is fixed in WackGet Portable 1.2.4 Rev 2

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

Log in or register to post comments